aboutsummaryrefslogtreecommitdiff
path: root/testsuite/pwd
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-11 16:27:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-11 16:27:55 +0200
commit69c8c699aaa69e281e4a01be0f48a6498d3ac7cb (patch)
treed3357d2791f4d20ab75d2f45004f1ccf7928670d /testsuite/pwd
parent005c492c40ff833a99abd251872ec60661344474 (diff)
downloadbusybox-69c8c699aaa69e281e4a01be0f48a6498d3ac7cb.tar.gz
randconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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)