summaryrefslogtreecommitdiffstats
path: root/t/t4029-diff-trailing-space.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-12 18:49:59 +0200
committerJunio C Hamano <gitster@pobox.com>2012-06-25 06:56:13 +0200
commit7096b6486e40f509ee53448596b3cdb86360ad3e (patch)
tree3ffaaa525f00e14379e949f97f73e7ce6a75aa1f /t/t4029-diff-trailing-space.sh
parentt/test-lib.sh: export PERL_PATH for use in scripts (diff)
downloadgit-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.xz
git-7096b6486e40f509ee53448596b3cdb86360ad3e.zip
tests: enclose $PERL_PATH in double quotes
Otherwise it will be split at a space after "Program" when it is set to "\\Program Files\perl" or something silly like that. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4029-diff-trailing-space.sh')
-rwxr-xr-xt/t4029-diff-trailing-space.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4029-diff-trailing-space.sh b/t/t4029-diff-trailing-space.sh
index 7f7f504ab9..36e2f075c9 100755
--- a/t/t4029-diff-trailing-space.sh
+++ b/t/t4029-diff-trailing-space.sh
@@ -27,7 +27,7 @@ test_expect_success \
git config --bool diff.suppressBlankEmpty true &&
git diff f > actual &&
test_cmp exp actual &&
- $PERL_PATH -i.bak -p -e "s/^\$/ /" exp &&
+ "$PERL_PATH" -i.bak -p -e "s/^\$/ /" exp &&
git config --bool diff.suppressBlankEmpty false &&
git diff f > actual &&
test_cmp exp actual &&