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`.
This commit is contained in:
Pádraig Brady committed 2016-11-30 15:50:59 +00:00
1 parent 40434e566e
commit 1ee01c4066
1 file changed
+1 -1
+1 -1
View File
@@ -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