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:

committed by
Junio C Hamano

parent
81071626ba
commit
7150f140f9
@ -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' '
|
||||
|
Reference in New Issue
Block a user