]> git.saurik.com Git - redis.git/blobdiff - tests/support/test.tcl
tags for existing tests
[redis.git] / tests / support / test.tcl
index c13072f042003af60b41b28c4945cc0c0225e2dd..d2674da19a28f8d202298341c52bcb80daefa2b2 100644 (file)
@@ -15,7 +15,7 @@ proc test {name code okpattern} {
     if {[llength $::allowtags] > 0} {
         set matched 0
         foreach tag $::allowtags {
-            if {[lsearch $::tags $tag]} {
+            if {[lsearch $::tags $tag] >= 0} {
                 incr matched
             }
         }