mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 09:27:21 +00:00
tests/chmod: add test with both reference and symbolic mode
Only reference should be taken into account.
This commit is contained in:
parent
bbe54bc0a8
commit
f0186271ec
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ fn test_chmod_many_options() {
|
|||
fn test_chmod_reference_file() {
|
||||
let tests = vec!{
|
||||
TestCase{args: vec!{"--reference", REFERENCE_FILE, TEST_FILE}, before: 0o070, after: 0o247},
|
||||
TestCase{args: vec!{"a-w", "--reference", REFERENCE_FILE, TEST_FILE}, before: 0o070, after: 0o247},
|
||||
};
|
||||
let (at, ucmd) = testing(UTIL_NAME);
|
||||
mkfile(&at.plus_as_string(REFERENCE_FILE), REFERENCE_PERMS);
|
||||
|
|
Loading…
Reference in a new issue