aboutsummaryrefslogtreecommitdiff
path: root/tests/sh.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sh.test')
-rwxr-xr-xtests/sh.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sh.test b/tests/sh.test
index 9aefe2f9..1a8e8829 100755
--- a/tests/sh.test
+++ b/tests/sh.test
@@ -170,7 +170,7 @@ testing "subshell exit err" '(exit 42); echo $?' "42\n" "" ""
# Same thing twice, but how do we cmp if exec exited?
#testing 'exec and $$' testing 'echo $$;exec readlink /proc/self'
-X="$(which readlink)"
+X="$(realpath $(which readlink))"
testing "exec in paren" \
'(exec readlink /proc/self/exe);echo hello' "$X\nhello\n" "" ""
testing "exec in brackets" \