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>
This commit is contained in:
Marcel Telka 2024-05-16 09:45:06 +02:00 committed by Junio C Hamano
parent 81071626ba
commit 7150f140f9

View file

@ -233,7 +233,7 @@ have_counter_event () {
pattern="d0|${thread}|${event}||||${category}|name:${name} value:${value}" &&
grep "${patern}" ${file}
grep "${pattern}" ${file}
}
test_expect_success 'global counter test/test1' '