summaryrefslogtreecommitdiff
path: root/tests/readlink/multi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/readlink/multi.sh')
-rwxr-xr-xtests/readlink/multi.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/readlink/multi.sh b/tests/readlink/multi.sh
index 17aab4059..c7c2ef711 100755
--- a/tests/readlink/multi.sh
+++ b/tests/readlink/multi.sh
@@ -23,8 +23,8 @@ touch regfile || framework_failure_
ln -s regfile link1 || framework_failure_
readlink link1 link1 || fail=1
-readlink link1 link2 && fail=1
-readlink link1 link2 link1 && fail=1
+returns_ 1 readlink link1 link2 || fail=1
+returns_ 1 readlink link1 link2 link1 || fail=1
readlink -m link1 link2 || fail=1
printf '/1\0/1\0' > exp || framework_failure_