summaryrefslogtreecommitdiff
path: root/tests/cp/file-perm-race
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/file-perm-race')
-rwxr-xr-xtests/cp/file-perm-race6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/cp/file-perm-race b/tests/cp/file-perm-race
index 94e402dbc..3e3859773 100755
--- a/tests/cp/file-perm-race
+++ b/tests/cp/file-perm-race
@@ -24,10 +24,8 @@ fi
. $srcdir/../test-lib.sh
umask 022
-mkfifo fifo || {
- echo "$0: fifos not supported; skipping this test." 1>&2
- (exit 77); exit 77
-}
+mkfifo fifo ||
+ skip_test_ "fifos not supported"
# Copy a fifo's contents. That way, we can examine the
# destination permissions before they're finalized.