OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5e286b
)
chmod.test had umask assumptions which broke, so set explicit umask.
author
Rob Landley
<rob@landley.net>
Sun, 31 Jan 2016 21:37:51 +0000
(15:37 -0600)
committer
Rob Landley
<rob@landley.net>
Sun, 31 Jan 2016 21:37:51 +0000
(15:37 -0600)
tests/chmod.test
patch
|
blob
|
history
diff --git
a/tests/chmod.test
b/tests/chmod.test
index
77106a6
..
887f738
100755
(executable)
--- 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 51
1
permissions
+# We don't need to test all 51
2
permissions
for u in 0 1 2 3 4 5 6 7
do
for g in 0 3 6