diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-02-01 14:34:15 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-02-01 14:35:44 -0500 |
commit | 808aba6b5ba02d64c68fcdd4487048e257e322d8 (patch) | |
tree | 6e57465ad31e0beeb0ba34473d60e1708c503c33 /tests.sh | |
parent | 09fd2a82ded3cf97f91f30fa1ed4937b60fc9998 (diff) | |
download | bfs-808aba6b5ba02d64c68fcdd4487048e257e322d8.tar.xz |
tests: set -P for the whole script
We rely on physical path resolution in test_execdir_pwd.
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -16,7 +16,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # ############################################################################ -set -e +set -eP umask 022 export LC_ALL=C @@ -845,7 +845,6 @@ eval enabled_tests=($(printf '%q\n' "${enabled_tests[@]}" | sort -u)) function _realpath() { ( - set -P cd "$(dirname -- "$1")" echo "$PWD/$(basename -- "$1")" ) |