t/t0211-trace2-perf.sh: fix typo patern -> pattern

The bug went unnoticed because grep with null RE matches everything.

Signed-off-by: Marcel Telka <marcel@telka.sk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Marcel Telka 2024-05-16 09:45:06 +02:00 committed by Junio C Hamano
parent 81071626ba
commit 7150f140f9
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ have_counter_event () {


pattern="d0|${thread}|${event}||||${category}|name:${name} value:${value}" && pattern="d0|${thread}|${event}||||${category}|name:${name} value:${value}" &&


grep "${patern}" ${file} grep "${pattern}" ${file}
} }


test_expect_success 'global counter test/test1' ' test_expect_success 'global counter test/test1' '