From c47ead363945d89e96b9266827887f402283513d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 29 Dec 2024 14:20:21 +0100 Subject: [PATCH] chmod: split a test into two as they are testing different things --- tests/by-util/test_chmod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/by-util/test_chmod.rs b/tests/by-util/test_chmod.rs index 167e79cd0..26ad104e9 100644 --- a/tests/by-util/test_chmod.rs +++ b/tests/by-util/test_chmod.rs @@ -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");