From ee293e5af53ab4dc2c1f29d3c15b39a1faba15ae Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Tue, 1 Jul 2014 08:32:57 -0700
Subject: [PATCH] tests: tweak pwd-option.sh

* tests/misc/pwd-option.sh (base): Initialize with -P,
now that -L is the default, to accommodate an initial
working directory with a symlink component.
---
 tests/misc/pwd-option.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/misc/pwd-option.sh b/tests/misc/pwd-option.sh
index 983726b..9b4664d 100755
--- a/tests/misc/pwd-option.sh
+++ b/tests/misc/pwd-option.sh
@@ -21,7 +21,7 @@ print_ver_ pwd
 
 mkdir -p a/b || framework_failure_
 ln -s a/b c || framework_failure_
-base=$(env -- pwd)
+base=$(env -- pwd -P)
 
 # Remove any logical paths from $PWD.
 cd "$base" || framework_failure_
-- 
1.8.1

