summaryrefslogtreecommitdiff
path: root/tests/mv/no-target-dir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mv/no-target-dir')
-rwxr-xr-xtests/mv/no-target-dir6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/mv/no-target-dir b/tests/mv/no-target-dir
index 7f3a926a5..6fbdc8b9b 100755
--- a/tests/mv/no-target-dir
+++ b/tests/mv/no-target-dir
@@ -30,10 +30,8 @@ touch f || framework_failure
# Skip this test if there's an underlying kernel bug.
mkdir a b b/a || framework_failure
-mv a b || {
- echo "$0: skipping this test: your kernel's rename syscall is buggy" 1>&2
- (exit 77); exit 77
-}
+mv a b ||
+ skip_test_ "your kernel's rename syscall is buggy"
fail=0