]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: adapt tests to change in pwd's default
authorJim Meyering <meyering@fb.com>
Tue, 1 Jul 2014 15:32:57 +0000 (08:32 -0700)
committerJim Meyering <meyering@fb.com>
Tue, 1 Jul 2014 16:44:41 +0000 (09:44 -0700)
commit149a3b2c78d9adc35873df60660651605e88edb9
tree4fe6708e13c565de221418fac9192eaa80d23408
parent8e764584fda9c153c1e1387b9f8fa2f2591c28ad
tests: adapt tests to change in pwd's default

* 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/readlink-fp-loop.sh: Use $(env pwd -P) to get the
absolute working directory.  Using "env" ensures we do not invoke
any shell built-in, and PATH ensures we invoke the one from coreutils.
* tests/readlink/can-e.sh: Likewise.
* tests/readlink/can-f.sh: Likewise.
* tests/readlink/can-m.sh: Likewise.
tests/misc/pwd-option.sh
tests/misc/readlink-fp-loop.sh
tests/readlink/can-e.sh
tests/readlink/can-f.sh
tests/readlink/can-m.sh