]> git.saurik.com Git - redis.git/blobdiff - tests/support/test.tcl
New commands: BITOP and BITCOUNT.
[redis.git] / tests / support / test.tcl
index 91ab8117be1b33856942e7e3c02bd98bc687a257..480c674e05b48ee8d6bc95d0916af0b5c966b953 100644 (file)
@@ -53,7 +53,7 @@ proc assert_type {type key} {
 # executed.
 proc wait_for_condition {maxtries delay e _else_ elsescript} {
     while {[incr maxtries -1] >= 0} {
-        if {[uplevel 1 expr $e]} break
+        if {[uplevel 1 [list expr $e]]} break
         after $delay
     }
     if {$maxtries == -1} {