Skip to content

Commit ac140be

Browse files
committed
Merge branch 'jt/t5500-unflake'
Test fix for a topic already in 'master' and meant for 'maint'. * jt/t5500-unflake: t5500: count objects through stderr, not trace
2 parents 6baba94 + 2b695ec commit ac140be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

t/t5500-fetch-pack.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ test_expect_success 'clone shallow with packed refs' '
386386
'
387387

388388
test_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

406406
test_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

436436
test_expect_success 'fetch in shallow repo unreachable shallow objects' '

0 commit comments

Comments
 (0)