From f3aa9892056918da39e6873f051d4b02523d3209 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 3 Jan 2001 16:16:56 +0000 Subject: check for existing behavior --- tests/chmod/setgid | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/chmod/setgid') 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 -- cgit v1.2.3-70-g09d2