1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

Check for =u bug.

This commit is contained in:
Paul Eggert
2005-04-28 16:31:49 +00:00
parent add32958fc
commit 67f7a0936c

View File

@@ -1,6 +1,7 @@
#!/bin/sh
# Make sure chmod mode arguments of the form A=B work properly.
# Before fileutils-4.1.2, some of them didn't.
# Also, before coreutils-5.3.1, =[ugo] sometimes didn't work.
if test "$VERBOSE" = yes; then
set -x
@@ -38,4 +39,9 @@ for src in u g o; do
done
done
umask 027
chmod a=,u=rwx,=u f || fail=1
set _ `ls -l f`; shift; actual_perms=$1
test "$actual_perms" = "-rwxr-x---" || fail=1
(exit $fail); exit $fail