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/t4116-apply-reverse.sh | |
parent | t/test-lib.sh: export PERL_PATH for use in scripts (diff) | |
download | tgif-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/t4116-apply-reverse.sh')
-rwxr-xr-x | t/t4116-apply-reverse.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4116-apply-reverse.sh b/t/t4116-apply-reverse.sh index 7b0c02abad..fca815392e 100755 --- a/t/t4116-apply-reverse.sh +++ b/t/t4116-apply-reverse.sh @@ -12,14 +12,14 @@ test_description='git apply in reverse test_expect_success setup ' for i in a b c d e f g h i j k l m n; do echo $i; done >file1 && - $PERL_PATH -pe "y/ijk/\\000\\001\\002/" <file1 >file2 && + "$PERL_PATH" -pe "y/ijk/\\000\\001\\002/" <file1 >file2 && git add file1 file2 && git commit -m initial && git tag initial && for i in a b c g h i J K L m o n p q; do echo $i; done >file1 && - $PERL_PATH -pe "y/mon/\\000\\001\\002/" <file1 >file2 && + "$PERL_PATH" -pe "y/mon/\\000\\001\\002/" <file1 >file2 && git commit -a -m second && git tag second && |