minimal-linux-script/busybox-1.33.0/testsuite/pwd/pwd-prints-working-directory
2023-11-16 23:19:36 -05:00

5 lines
216 B
Plaintext

# 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)"