aboutsummaryrefslogtreecommitdiff
path: root/t/t1010-mktree.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-12 09:49:59 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-24 21:56:13 -0700
commit7096b6486e40f509ee53448596b3cdb86360ad3e (patch)
tree3ffaaa525f00e14379e949f97f73e7ce6a75aa1f /t/t1010-mktree.sh
parent770bf6c5e2830add4b59d3dbf9929e62ed4d6fb7 (diff)
downloadgit-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.gz
git-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.xz
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/t1010-mktree.sh')
-rwxr-xr-xt/t1010-mktree.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1010-mktree.sh b/t/t1010-mktree.sh
index 353576115..df573c497 100755
--- a/t/t1010-mktree.sh
+++ b/t/t1010-mktree.sh
@@ -42,13 +42,13 @@ test_expect_success 'ls-tree piped to mktree (2)' '
'
test_expect_success 'ls-tree output in wrong order given to mktree (1)' '
- $PERL_PATH -e "print reverse <>" <top |
+ "$PERL_PATH" -e "print reverse <>" <top |
git mktree >actual &&
test_cmp tree actual
'
test_expect_success 'ls-tree output in wrong order given to mktree (2)' '
- $PERL_PATH -e "print reverse <>" <top.withsub |
+ "$PERL_PATH" -e "print reverse <>" <top.withsub |
git mktree >actual &&
test_cmp tree.withsub actual
'