Skip to content

Commit 7150f14

Browse files
mtelkagitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8107162 commit 7150f14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t0211-trace2-perf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ have_counter_event () {
233233

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

236-
grep "${patern}" ${file}
236+
grep "${pattern}" ${file}
237237
}
238238

239239
test_expect_success 'global counter test/test1' '

0 commit comments

Comments
 (0)