summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls')
-rwxr-xr-xtests/ls/nameless-uid3
-rwxr-xr-xtests/ls/stat-dtype4
2 files changed, 2 insertions, 5 deletions
diff --git a/tests/ls/nameless-uid b/tests/ls/nameless-uid
index 7512c187d..a78846ca4 100755
--- a/tests/ls/nameless-uid
+++ b/tests/ls/nameless-uid
@@ -34,8 +34,7 @@ $PERL -e 1 > /dev/null 2>&1 || {
nameless_uid=`$PERL -e 'foreach my $i (1000..16*1024) { getpwuid $i or (print "$i\n"), exit }'`
if test x$nameless_uid = x; then
- echo "$0: couldn't find a nameless UID" 1>&2
- (exit 77); exit 77
+ skip_test_ "couldn't find a nameless UID"
fi
touch f || framework_failure
diff --git a/tests/ls/stat-dtype b/tests/ls/stat-dtype
index c5ea4f567..5e1776e71 100755
--- a/tests/ls/stat-dtype
+++ b/tests/ls/stat-dtype
@@ -34,9 +34,7 @@ fi
mkdir -p c/d || framework_failure
chmod a-x c || framework_failure
if test "X`ls -p c 2>&1`" != Xd/; then
- echo "$0: '.' is not on a suitable file system for this test" 1>&2
- echo "$0: skipping this test" 1>&2
- (exit 77); exit 77
+ skip_test_ "'.' is not on a suitable file system for this test"
fi
mkdir d || framework_failure