From: Pádraig Brady
Date: Sat, 16 Jan 2016 17:45:57 +0000 (+0000) Subject: tests: fix false failure with spaces in absolute $PWD X-Git-Tag: v8.25~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1204da74e3424878f31725b2e4552a1748f82da3;p=thirdparty%2Fcoreutils.git tests: fix false failure with spaces in absolute $PWD * tests/install/create-leading.sh: Ensure $PWD is quoted. Reported by `make dist-check`. --- 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