@@ -386,7 +386,7 @@ test_expect_success 'clone shallow with packed refs' '
386386'
387387
388388test_expect_success ' in_vain not triggered before first ACK' '
389- rm -rf myserver myclient trace &&
389+ rm -rf myserver myclient &&
390390 git init myserver &&
391391 test_commit -C myserver foo &&
392392 git clone "file://$(pwd)/myserver" myclient &&
@@ -399,12 +399,12 @@ test_expect_success 'in_vain not triggered before first ACK' '
399399 # The new commit that the client wants to fetch.
400400 test_commit -C myserver bar &&
401401
402- GIT_TRACE_PACKET="$(pwd)/trace" git -C myclient fetch --progress origin &&
403- test_i18ngrep "Total 3 " trace
402+ git -C myclient fetch --progress origin 2>log &&
403+ test_i18ngrep "remote: Total 3 " log
404404'
405405
406406test_expect_success ' in_vain resetted upon ACK' '
407- rm -rf myserver myclient trace &&
407+ rm -rf myserver myclient &&
408408 git init myserver &&
409409
410410 # Linked list of commits on master. The first is common; the rest are
@@ -429,8 +429,8 @@ test_expect_success 'in_vain resetted upon ACK' '
429429 # first. The 256th commit is common between the client and the server,
430430 # and should reset in_vain. This allows negotiation to continue until
431431 # the client reports that first_anotherbranch_commit is common.
432- GIT_TRACE_PACKET="$(pwd)/trace" git -C myclient fetch --progress origin master &&
433- test_i18ngrep "Total 3 " trace
432+ git -C myclient fetch --progress origin master 2>log &&
433+ test_i18ngrep "Total 3 " log
434434'
435435
436436test_expect_success ' fetch in shallow repo unreachable shallow objects' '
0 commit comments