2 # Disable the current test if the working directory seems to have
5 # This test should be run in the temporary directory that ends
6 # up being removed via the trap commands.
10 setgid_tmpdir=setgid-$$
11 (umask 77; mkdir $setgid_tmpdir)
12 p=`ls -ld $setgid_tmpdir|sed 's/ .*//'`
16 drwxr-xr-x);; # Windows98 + DJGPP 2.03 + fileutils-4.1 does this.
17 *) cwd_is_setgid=yes;;
19 if test $cwd_is_setgid = yes; then
21 $0: Since it looks like you're running this test in a directory with
22 the setgid bit set, we're skipping this test.