projects
/
platform
/
upstream
/
coreutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chmod: output the original mode in verbose mode
[platform/upstream/coreutils.git]
/
tests
/
chmod
/
c-option
diff --git
a/tests/chmod/c-option
b/tests/chmod/c-option
index
14d89b6
..
d80038c
100755
(executable)
--- a/
tests/chmod/c-option
+++ b/
tests/chmod/c-option
@@
-33,8
+33,8
@@
chmod -c g=rwx $file > empty || fail=1
test -s empty && fail=1
case "`cat out`" in
- "mode of \`f' changed to 0774 "?rwxrwxr--?) ;;
- *) fail=1 ;;
+ "mode of \`f' changed
from 0744 "?rwxr--r--?"
to 0774 "?rwxrwxr--?) ;;
+ *)
cat out;
fail=1 ;;
esac
Exit $fail