aboutsummaryrefslogtreecommitdiff
path: root/testsuite/pwd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pwd')
-rw-r--r--testsuite/pwd/pwd-prints-working-directory5
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/pwd/pwd-prints-working-directory b/testsuite/pwd/pwd-prints-working-directory
index 8575347d6..971adb5a6 100644
--- a/testsuite/pwd/pwd-prints-working-directory
+++ b/testsuite/pwd/pwd-prints-working-directory
@@ -1 +1,4 @@
-test $(pwd) = $(busybox pwd)
+# shell's $PWD may leave symlinks unresolved.
+# "pwd" may be a built-in and have the same problem.
+# External pwd _can't_ have that problem (current dir on Unix is physical).
+test $(`which pwd`) = $(busybox pwd)