Junio C Hamano <[email protected]> writes:
> SZEDER Gábor <[email protected]> writes:
>
>> ... therefore these should be 'test_i18ngrep'. This applies to the
>> other tests in this patch series as well.
>> ...
>
> Hmph. That would mean the following is needed,...
And a corresponding fix for step 2/2 would look like this.
t/t5702-protocol-v2.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t5702-protocol-v2.sh b/t/t5702-protocol-v2.sh
index 324bdf5715..9b048f6c8b 100755
--- a/t/t5702-protocol-v2.sh
+++ b/t/t5702-protocol-v2.sh
@@ -288,8 +288,8 @@ test_expect_success 'warn if using server-option with clone
with legacy protocol
clone --server-option=hello --server-option=world \
"file://$(pwd)/file_parent" myclone 2>err &&
- grep "see protocol.version in" err &&
- grep "server options require protocol version 2 or later" err
+ test_i18ngrep "see protocol.version in" err &&
+ test_i18ngrep "server options require protocol version 2 or later" err
'
test_expect_success 'upload-pack respects config using protocol v2' '