From f0186271ec71d77c4ac2f78b22e33aee2c816d29 Mon Sep 17 00:00:00 2001 From: Luca Ottaviano Date: Thu, 24 Mar 2016 19:01:40 +0100 Subject: [PATCH] tests/chmod: add test with both reference and symbolic mode Only reference should be taken into account. --- tests/chmod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/chmod.rs b/tests/chmod.rs index e380215ff..a00cb5417 100644 --- a/tests/chmod.rs +++ b/tests/chmod.rs @@ -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);