1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

tests/chmod: add missing test for many symbolic permissions at once

This commit is contained in:
Luca Ottaviano 2016-03-15 14:20:11 +01:00
parent 6ded76714b
commit bbe54bc0a8

View file

@ -95,6 +95,14 @@ fn test_chmod_ugo_copy() {
run_tests(tests); run_tests(tests);
} }
#[test]
fn test_chmod_many_options() {
let tests = vec!{
TestCase{args: vec!{"-r,a+w", TEST_FILE}, before: 0o444, after: 0o222},
};
run_tests(tests);
}
#[test] #[test]
fn test_chmod_reference_file() { fn test_chmod_reference_file() {
let tests = vec!{ let tests = vec!{