]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
check for existing behavior
authorJim Meyering <jim@meyering.net>
Wed, 3 Jan 2001 16:16:56 +0000 (16:16 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 3 Jan 2001 16:16:56 +0000 (16:16 +0000)
tests/chmod/setgid

index 615a92d1d74fbfebd251a0044b9eb035a2a0793d..db50341c46209eaf6732c2bd4808edfdd55034d7 100755 (executable)
@@ -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