diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-05-06 15:07:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-06 15:38:06 -0700 |
commit | 2b695ecd74d174e23ed09c1c044f1313de538d15 (patch) | |
tree | f3f9df23b806c64fd772d0df715c2679f18967ec /t/t2300-cd-to-toplevel.sh | |
parent | fetch-pack: in protocol v2, reset in_vain upon ACK (diff) | |
download | tgif-2b695ecd74d174e23ed09c1c044f1313de538d15.tar.xz |
t5500: count objects through stderr, not trace
In two tests introduced by 4fa3f00abb ("fetch-pack: in protocol v2,
in_vain only after ACK", 2020-04-28) and 2f0a093dd6 ("fetch-pack: in
protocol v2, reset in_vain upon ACK", 2020-04-28), the count of objects
downloaded is checked by grepping for a specific message in the packet
trace. However, this is flaky as that specific message may be delivered
over 2 or more packet lines.
Instead, grep over stderr, just like the "fetch creating new shallow
root" test in the same file.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2300-cd-to-toplevel.sh')
0 files changed, 0 insertions, 0 deletions