summaryrefslogtreecommitdiff
path: root/tests/chmod/setgid
diff options
context:
space:
mode:
Diffstat (limited to 'tests/chmod/setgid')
-rwxr-xr-xtests/chmod/setgid7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/chmod/setgid b/tests/chmod/setgid
index a91c6a581..d5d35f976 100755
--- a/tests/chmod/setgid
+++ b/tests/chmod/setgid
@@ -44,11 +44,8 @@ chmod g+s d 2> /dev/null && "$test" -g d ||
}
# "chmod g+s d" does nothing on some NFS file systems.
-"$test" -g d || {
- echo 1>&2 "$0: cannot create setgid directories," \
- "so can't run this test"
- exit 77
-}
+"$test" -g d ||
+ skip_test_ 'cannot create setgid directories'
fail=0