From: Pádraig Brady
Date: Wed, 30 Nov 2016 15:50:59 +0000 (+0000) Subject: tests: fix false failure with spaces in $PWD X-Git-Tag: v8.26~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ee01c40668c34ef53f398fc41447cf174559622;p=thirdparty%2Fcoreutils.git tests: fix false failure with spaces in $PWD * tests/misc/ptx-overrun.sh: Quote appropriately to avoid this recently added issue, noticed by `make taint-distcheck`. --- diff --git a/tests/misc/ptx-overrun.sh b/tests/misc/ptx-overrun.sh index 3b46812644..7b087d34a6 100755 --- a/tests/misc/ptx-overrun.sh +++ b/tests/misc/ptx-overrun.sh @@ -44,6 +44,6 @@ compare /dev/null out || fail=1 # Trigger an invalid heap reference noticed by gcc -fsanitize=address # from coreutils-8.25 and earlier. echo a > a -ptx -w1 -A $PWD/a >/dev/null || fail=1 +ptx -w1 -A "$PWD/a" >/dev/null || fail=1 Exit $fail