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/t9810-git-p4-rcs.sh | |
parent | Merge branch 'sc/doc-howto-dumb-http' (diff) | |
parent | t: use perl instead of "$PERL_PATH" where applicable (diff) | |
download | tgif-a3a9cff0371f5dd3dd199ef227911cd812e1708d.tar.xz |
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/t9810-git-p4-rcs.sh')
-rwxr-xr-x | t/t9810-git-p4-rcs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9810-git-p4-rcs.sh b/t/t9810-git-p4-rcs.sh index 34fbc90005..8134ab439b 100755 --- a/t/t9810-git-p4-rcs.sh +++ b/t/t9810-git-p4-rcs.sh @@ -263,7 +263,7 @@ test_expect_success 'cope with rcs keyword expansion damage' ' git config git-p4.attemptRCSCleanup true && (cd "$cli" && p4_append_to_file kwfile1.c) && old_lines=$(wc -l <kwfile1.c) && - "$PERL_PATH" -n -i -e "print unless m/Revision:/" kwfile1.c && + perl -n -i -e "print unless m/Revision:/" kwfile1.c && new_lines=$(wc -l <kwfile1.c) && test $new_lines = $(($old_lines - 1)) && |