mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
chmod: split a test into two as they are testing different things
This commit is contained in:
parent
b9c535e3ba
commit
c47ead3639
1 changed files with 3 additions and 0 deletions
|
@ -229,7 +229,10 @@ fn test_chmod_ugoa() {
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
run_tests(tests);
|
run_tests(tests);
|
||||||
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_chmod_error_permissions() {
|
||||||
// check that we print an error if umask prevents us from removing a permission
|
// check that we print an error if umask prevents us from removing a permission
|
||||||
let (at, mut ucmd) = at_and_ucmd!();
|
let (at, mut ucmd) = at_and_ucmd!();
|
||||||
at.touch("file");
|
at.touch("file");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue