diff options
author | antirez <antirez@gmail.com> | 2009-12-29 14:59:40 -0500 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2009-12-29 14:59:40 -0500 |
commit | 4409877e19dd9b32818e75823f5264e24607eee5 (patch) | |
tree | 1bdacb89223beb1bcb35888c5c93594f91823c7a /test-redis.tcl | |
parent | 436b423e18efd213d835f83efd909de87e9fb8c6 (diff) | |
download | redis-4409877e19dd9b32818e75823f5264e24607eee5.tar.gz |
not yet working BLPOP implementation
Diffstat (limited to 'test-redis.tcl')
-rw-r--r-- | test-redis.tcl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-redis.tcl b/test-redis.tcl index 4a259d072..1ac877e11 100644 --- a/test-redis.tcl +++ b/test-redis.tcl @@ -1562,6 +1562,18 @@ proc main {server port} { set _ 1 } {1} + test {MUTLI / EXEC basics} { + $r del mylist + $r rpush mylist a + $r rpush mylist b + $r rpush mylist c + $r multi + set v1 [$r lrange mylist 0 -1] + set v2 [$r ping] + set v3 [$r exec] + list $v1 $v2 $v3 + } {QUEUED QUEUED {{a b c} PONG}} + # Leave the user with a clean DB before to exit test {FLUSHDB} { set aux {} |