summaryrefslogtreecommitdiff
path: root/tests/readlink/rl-1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/readlink/rl-1.sh')
-rwxr-xr-xtests/readlink/rl-1.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/readlink/rl-1.sh b/tests/readlink/rl-1.sh
index a6b92c747..5b429edec 100755
--- a/tests/readlink/rl-1.sh
+++ b/tests/readlink/rl-1.sh
@@ -31,13 +31,13 @@ test "$v" = regfile || fail=1
v=$(readlink link2) || fail=1
test "$v" = missing || fail=1
-v=$(readlink subdir) && fail=1
+v=$(returns_ 1 readlink subdir) || fail=1
test -z "$v" || fail=1
-v=$(readlink regfile) && fail=1
+v=$(returns_ 1 readlink regfile) || fail=1
test -z "$v" || fail=1
-v=$(readlink missing) && fail=1
+v=$(returns_ 1 readlink missing) || fail=1
test -z "$v" || fail=1
Exit $fail