1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

chmod: split a test into two as they are testing different things

This commit is contained in:
Sylvestre Ledru 2024-12-29 14:20:21 +01:00
parent b9c535e3ba
commit c47ead3639

View file

@ -229,7 +229,10 @@ fn test_chmod_ugoa() {
},
];
run_tests(tests);
}
#[test]
fn test_chmod_error_permissions() {
// check that we print an error if umask prevents us from removing a permission
let (at, mut ucmd) = at_and_ucmd!();
at.touch("file");