From 1204da74e3424878f31725b2e4552a1748f82da3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Sat, 16 Jan 2016 17:45:57 +0000 Subject: [PATCH] tests: fix false failure with spaces in absolute $PWD * tests/install/create-leading.sh: Ensure $PWD is quoted. Reported by `make dist-check`. --- tests/install/create-leading.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/install/create-leading.sh b/tests/install/create-leading.sh index 62f74f53f1..4b8e4b4b77 100755 --- a/tests/install/create-leading.sh +++ b/tests/install/create-leading.sh @@ -36,7 +36,7 @@ test -r no-dir1/no-dir2/dest || fail=1 # due to incorrectly modified working directory mkdir dir1 || framework_failure_ touch dir1/file1 || framework_failure_ -ginstall -D $PWD/dir1/file1 $file -t $PWD/no-dir2/ || fail=1 +ginstall -D "$PWD/dir1/file1" $file -t "$PWD/no-dir2/" || fail=1 test -r no-dir2/$file && test -r no-dir2/file1 || fail=1 Exit $fail -- 2.47.3