Re: [PATCH v3 10/16] refs/packed-backend.c: add trace2 counters for jump list
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 14, 2023, 00:32 UTC
- Message-ID
- <xmqqttva28a7.fsf@gitster.g>
- In-Reply-To
- <3c045076a95fab9d050a312114c9aca712eb7141.1686134440.git.me@ttaylorr.com>
Taylor Blau <me@ttaylorr.com> writes:
Show 6 quoted lines
> +assert_jumps () {
> + local nr="$1"
> + local trace="$2"
> +
> + grep -q "name:jumps_made value:$nr" $trace
> +}You may expect 1 hit and the test will pass if trace had 10 or 12 hits.