summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-30 15:50:59 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-30 15:50:59 +0000
commit1ee01c40668c34ef53f398fc41447cf174559622 (patch)
tree40d69f9bd3f3ef4207906737deee6911efde65f5 /tests
parent40434e566e5281c5243c1510ecffcc66d45921c1 (diff)
downloadcoreutils-1ee01c40668c34ef53f398fc41447cf174559622.tar.xz
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`.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/ptx-overrun.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/ptx-overrun.sh b/tests/misc/ptx-overrun.sh
index 3b4681264..7b087d34a 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