From 324a4a018a4e949d2262ca622722948712ec4a4d Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 31 Jan 2016 15:37:51 -0600 Subject: chmod.test had umask assumptions which broke, so set explicit umask. --- tests/chmod.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/chmod.test') diff --git a/tests/chmod.test b/tests/chmod.test index 77106a69..887f738c 100755 --- a/tests/chmod.test +++ b/tests/chmod.test @@ -5,6 +5,8 @@ #testing "name" "command" "result" "infile" "stdin" +umask 022 + PERM="---""--x""-w-""-wx""r--""r-x""rw-""rwx" num2perm() @@ -21,7 +23,7 @@ num2perm() mkdir dir touch file -# We don't need to test all 511 permissions +# We don't need to test all 512 permissions for u in 0 1 2 3 4 5 6 7 do for g in 0 3 6 -- cgit v1.2.3