summaryrefslogtreecommitdiff
path: root/tests/readlink/rl-1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/readlink/rl-1')
-rwxr-xr-xtests/readlink/rl-110
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/readlink/rl-1 b/tests/readlink/rl-1
index 7f2ddc2e0..511a9890e 100755
--- a/tests/readlink/rl-1
+++ b/tests/readlink/rl-1
@@ -25,19 +25,19 @@ ln -s regfile link1 || framework_failure_
ln -s missing link2 || framework_failure_
-v=`readlink link1` || fail=1
+v=$(readlink link1) || fail=1
test "$v" = regfile || fail=1
-v=`readlink link2` || fail=1
+v=$(readlink link2) || fail=1
test "$v" = missing || fail=1
-v=`readlink subdir` && fail=1
+v=$(readlink subdir) && fail=1
test -z "$v" || fail=1
-v=`readlink regfile` && fail=1
+v=$(readlink regfile) && fail=1
test -z "$v" || fail=1
-v=`readlink missing` && fail=1
+v=$(readlink missing) && fail=1
test -z "$v" || fail=1
Exit $fail