summaryrefslogtreecommitdiff
path: root/tests/chmod/setgid
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-03 16:16:56 +0000
committerJim Meyering <jim@meyering.net>2001-01-03 16:16:56 +0000
commitf3aa9892056918da39e6873f051d4b02523d3209 (patch)
tree1e092b42667a743d9eac3cf656ff6168ec968125 /tests/chmod/setgid
parentf8a894c5679292a609461a38f4ab933ba2a568b5 (diff)
downloadcoreutils-f3aa9892056918da39e6873f051d4b02523d3209.tar.xz
check for existing behavior
Diffstat (limited to 'tests/chmod/setgid')
-rwxr-xr-xtests/chmod/setgid4
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