diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-11-04 14:58:01 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-04 14:58:02 -0800 |
commit | a3a9cff0371f5dd3dd199ef227911cd812e1708d (patch) | |
tree | 80bb14edae19fa4e93a854f64ebeaf6ae8392568 /t/t4103-apply-binary.sh | |
parent | 68d5fbe285913cf6ff6c62c891539e9600030165 (diff) | |
parent | 94221d22036f36e10680c0a1e7eafb4bceeb1248 (diff) | |
download | git-a3a9cff0371f5dd3dd199ef227911cd812e1708d.tar.gz |
Merge branch 'jk/wrap-perl-used-in-tests'
* jk/wrap-perl-used-in-tests:
t: use perl instead of "$PERL_PATH" where applicable
t: provide a perl() function which uses $PERL_PATH
Diffstat (limited to 't/t4103-apply-binary.sh')
-rwxr-xr-x | t/t4103-apply-binary.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4103-apply-binary.sh b/t/t4103-apply-binary.sh index b1b906b1bb..1b420e3b5f 100755 --- a/t/t4103-apply-binary.sh +++ b/t/t4103-apply-binary.sh @@ -23,10 +23,10 @@ test_expect_success 'setup' ' git commit -m "Initial Version" 2>/dev/null && git checkout -b binary && - "$PERL_PATH" -pe "y/x/\000/" <file1 >file3 && + perl -pe "y/x/\000/" <file1 >file3 && cat file3 >file4 && git add file2 && - "$PERL_PATH" -pe "y/\000/v/" <file3 >file1 && + perl -pe "y/\000/v/" <file3 >file1 && rm -f file2 && git update-index --add --remove file1 file2 file3 file4 && git commit -m "Second Version" && |