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

This commit is contained in:
Sylvestre Ledru
2025-01-11 12:48:30 +01:00
parent b9c535e3ba
commit c47ead3639
+3
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");