From: Jim Meyering Date: Wed, 3 Jan 2001 16:16:56 +0000 (+0000) Subject: check for existing behavior X-Git-Tag: FILEUTILS-4_0_36~86 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f3aa9892056918da39e6873f051d4b02523d3209;p=thirdparty%2Fcoreutils.git check for existing behavior --- diff --git a/tests/chmod/setgid b/tests/chmod/setgid index 615a92d1d7..db50341c46 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