From: Marcel Telka Date: Thu, 16 May 2024 07:45:06 +0000 (+0200) Subject: t/t0211-trace2-perf.sh: fix typo patern -> pattern X-Git-Tag: v2.46.0-rc0~106^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7150f140f9c2630378d62d2ee5859bc59d635e93;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/t/t0211-trace2-perf.sh b/t/t0211-trace2-perf.sh index 0b3436e8ca..37a51e6449 100755 --- a/t/t0211-trace2-perf.sh +++ b/t/t0211-trace2-perf.sh @@ -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' '