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/t6011-rev-list-with-bad-commit.sh | |
parent | 770bf6c5e2830add4b59d3dbf9929e62ed4d6fb7 (diff) | |
download | git-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/t6011-rev-list-with-bad-commit.sh')
-rwxr-xr-x | t/t6011-rev-list-with-bad-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t6011-rev-list-with-bad-commit.sh b/t/t6011-rev-list-with-bad-commit.sh index b2c6125bc..bbb0581f8 100755 --- a/t/t6011-rev-list-with-bad-commit.sh +++ b/t/t6011-rev-list-with-bad-commit.sh @@ -37,7 +37,7 @@ test_expect_success 'verify number of revisions' \ test_expect_success 'corrupt second commit object' \ ' - $PERL_PATH -i.bak -pe "s/second commit/socond commit/" .git/objects/pack/*.pack && + "$PERL_PATH" -i.bak -pe "s/second commit/socond commit/" .git/objects/pack/*.pack && test_must_fail git fsck --full ' |