diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-12 09:49:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-24 21:56:13 -0700 |
commit | 7096b6486e40f509ee53448596b3cdb86360ad3e (patch) | |
tree | 3ffaaa525f00e14379e949f97f73e7ce6a75aa1f /t/t5300-pack-object.sh | |
parent | 770bf6c5e2830add4b59d3dbf9929e62ed4d6fb7 (diff) | |
download | git-7096b6486e40f509ee53448596b3cdb86360ad3e.tar.gz |
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/t5300-pack-object.sh')
-rwxr-xr-x | t/t5300-pack-object.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t5300-pack-object.sh b/t/t5300-pack-object.sh index a97bb74811..4fd69a19eb 100755 --- a/t/t5300-pack-object.sh +++ b/t/t5300-pack-object.sh @@ -13,9 +13,9 @@ TRASH=`pwd` test_expect_success \ 'setup' \ 'rm -f .git/index* && - $PERL_PATH -e "print \"a\" x 4096;" > a && - $PERL_PATH -e "print \"b\" x 4096;" > b && - $PERL_PATH -e "print \"c\" x 4096;" > c && + "$PERL_PATH" -e "print \"a\" x 4096;" > a && + "$PERL_PATH" -e "print \"b\" x 4096;" > b && + "$PERL_PATH" -e "print \"c\" x 4096;" > c && test-genrandom "seed a" 2097152 > a_big && test-genrandom "seed b" 2097152 > b_big && git update-index --add a a_big b b_big c && @@ -129,7 +129,7 @@ test_expect_success \ cd "$TRASH" test_expect_success 'compare delta flavors' ' - $PERL_PATH -e '\'' + "$PERL_PATH" -e '\'' defined($_ = -s $_) or die for @ARGV; exit 1 if $ARGV[0] <= $ARGV[1]; '\'' test-2-$packname_2.pack test-3-$packname_3.pack |