diff options
-rwxr-xr-x | tests/chmod/setgid | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/chmod/setgid b/tests/chmod/setgid index 615a92d1d..db50341c4 100755 --- a/tests/chmod/setgid +++ b/tests/chmod/setgid @@ -51,6 +51,8 @@ chmod 755 d # or not requests to set or clear the set-user-ID-on-execution or # set-group-ID-on-execution bits are honored. -p=`ls -ld d|sed 's/ .*//'`; case $p in drwxr-sr-x);; *) fail=1;; esac +# FIXME: consider changing GNU chmod to work like other versions of chmod. +# For now, this test simply confirms the existing behavior. +p=`ls -ld d|sed 's/ .*//'`; case $p in drwxr-xr-x);; *) fail=1;; esac (exit $fail); exit |