From 808aba6b5ba02d64c68fcdd4487048e257e322d8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 1 Feb 2022 14:34:15 -0500 Subject: tests: set -P for the whole script We rely on physical path resolution in test_execdir_pwd. --- tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 4ac9763..217e935 100755 --- a/tests.sh +++ b/tests.sh @@ -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")" ) -- cgit v1.2.3