diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/pwd-option.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/misc/pwd-option.sh b/tests/misc/pwd-option.sh index afb94877a..983726b66 100755 --- a/tests/misc/pwd-option.sh +++ b/tests/misc/pwd-option.sh @@ -40,11 +40,8 @@ printf %s\\n "$base/a/b" >> exp || fail=1 env -- pwd --physical >> out || fail=1 printf %s\\n "$base/a/b" >> exp || fail=1 -# By default, we use -P unless POSIXLY_CORRECT. +# By default, we use -L like POSIX and various shells. env -- pwd >> out || fail=1 -printf %s\\n "$base/a/b" >> exp || fail=1 - -env -- POSIXLY_CORRECT=1 pwd >> out || fail=1 printf %s\\n "$base/c" >> exp || fail=1 # Make sure we reject bogus values, and silently fall back to -P. |