The "rot13-filter.pl" helper wrote its debug logs always to "rot13-filter.log".
Make this configurable by defining the log file as first parameter of
"rot13-filter.pl".
This is useful if "rot13-filter.pl" is configured multiple times similar to the
subsequent patch 'convert: add "status=delayed" to filter process protocol'.
Signed-off-by: Lars Schneider <larsxschneider@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Lars Schneider8 years agocommitted byJunio C Hamano
@ -342,7 +342,7 @@ test_expect_success 'diff does not reuse worktree files that need cleaning' '
@@ -342,7 +342,7 @@ test_expect_success 'diff does not reuse worktree files that need cleaning' '
'
test_expect_success PERL 'required process filter should filter data' '
@ -462,7 +462,7 @@ test_expect_success PERL 'required process filter should be used only for "clean
@@ -462,7 +462,7 @@ test_expect_success PERL 'required process filter should be used only for "clean
IN: clean test.r $S [OK] -- OUT: $S . [OK]
STOP
EOF
test_cmp_count expected.log rot13-filter.log &&
test_cmp_count expected.log debug.log &&
rm test.r &&
@ -474,12 +474,12 @@ test_expect_success PERL 'required process filter should be used only for "clean
@@ -474,12 +474,12 @@ test_expect_success PERL 'required process filter should be used only for "clean
@ -514,7 +514,7 @@ test_expect_success PERL 'required process filter should process multiple packet
@@ -514,7 +514,7 @@ test_expect_success PERL 'required process filter should process multiple packet
@ -529,7 +529,7 @@ test_expect_success PERL 'required process filter should process multiple packet
@@ -529,7 +529,7 @@ test_expect_success PERL 'required process filter should process multiple packet
@ -539,7 +539,7 @@ test_expect_success PERL 'required process filter should process multiple packet
@@ -539,7 +539,7 @@ test_expect_success PERL 'required process filter should process multiple packet
'
test_expect_success PERL 'required process filter with clean error should fail' '
@ -558,7 +558,7 @@ test_expect_success PERL 'required process filter with clean error should fail'
@@ -558,7 +558,7 @@ test_expect_success PERL 'required process filter with clean error should fail'
'
test_expect_success PERL 'process filter should restart after unexpected write failure' '
@ -579,7 +579,7 @@ test_expect_success PERL 'process filter should restart after unexpected write f
@@ -579,7 +579,7 @@ test_expect_success PERL 'process filter should restart after unexpected write f
@ -595,7 +595,7 @@ test_expect_success PERL 'process filter should restart after unexpected write f
@@ -595,7 +595,7 @@ test_expect_success PERL 'process filter should restart after unexpected write f
@ -609,7 +609,7 @@ test_expect_success PERL 'process filter should restart after unexpected write f
@@ -609,7 +609,7 @@ test_expect_success PERL 'process filter should restart after unexpected write f
'
test_expect_success PERL 'process filter should not be restarted if it signals an error' '
@ -639,7 +639,7 @@ test_expect_success PERL 'process filter should not be restarted if it signals a
@@ -639,7 +639,7 @@ test_expect_success PERL 'process filter should not be restarted if it signals a
@ -648,7 +648,7 @@ test_expect_success PERL 'process filter should not be restarted if it signals a
@@ -648,7 +648,7 @@ test_expect_success PERL 'process filter should not be restarted if it signals a
'
test_expect_success PERL 'process filter abort stops processing of all further files' '
@ -676,7 +676,7 @@ test_expect_success PERL 'process filter abort stops processing of all further f
@@ -676,7 +676,7 @@ test_expect_success PERL 'process filter abort stops processing of all further f