summaryrefslogtreecommitdiff
path: root/tests/support
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-08-24 20:07:43 +0800
committerGitHub <noreply@github.com>2022-08-24 15:07:43 +0300
commit78259826cd35fd1b03cf0fce122c6e3e2fd69961 (patch)
tree3febbe22386ec5a76263917100ad70556f3f39f5 /tests/support
parentc07212372c3e03e9b4f459142d01a5f1895a0f9c (diff)
downloadredis-78259826cd35fd1b03cf0fce122c6e3e2fd69961.tar.gz
Bump codespell from 2.1.0 to 2.2.1 in /.codespell (#11184)
add a few terms to the white list, and fix a few newly detected typos
Diffstat (limited to 'tests/support')
-rw-r--r--tests/support/util.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/support/util.tcl b/tests/support/util.tcl
index c7aef0f50..0499fd055 100644
--- a/tests/support/util.tcl
+++ b/tests/support/util.tcl
@@ -158,7 +158,7 @@ proc count_log_lines {srv_idx} {
# returns the number of times a line with that pattern appears in a file
proc count_message_lines {file pattern} {
set res 0
- # exec fails when grep exists with status other than 0 (when the patter wasn't found)
+ # exec fails when grep exists with status other than 0 (when the pattern wasn't found)
catch {
set res [string trim [exec grep $pattern $file 2> /dev/null | wc -l]]
}