summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMarcel Telka <marcel@telka.sk>2024-05-16 09:45:06 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-16 09:34:39 -0700
commit7150f140f9c2630378d62d2ee5859bc59d635e93 (patch)
tree138072d3f232c1a770ac604277b4b0ba83f08ac8 /t
parent81071626ba1ec54ad72de1e0a9a49c78eb87a2c8 (diff)
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t0211-trace2-perf.sh2
1 files changed, 1 insertions, 1 deletions
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' '