From bbe54bc0a8491974ebb5f5865271e698dea56cd0 Mon Sep 17 00:00:00 2001 From: Luca Ottaviano Date: Tue, 15 Mar 2016 14:20:11 +0100 Subject: [PATCH] tests/chmod: add missing test for many symbolic permissions at once --- tests/chmod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/chmod.rs b/tests/chmod.rs index f406c7727..e380215ff 100644 --- a/tests/chmod.rs +++ b/tests/chmod.rs @@ -95,6 +95,14 @@ fn test_chmod_ugo_copy() { 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] fn test_chmod_reference_file() { let tests = vec!{