projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d36ded
)
Regression test for SINTERSTORE added
author
antirez
<antirez@gmail.com>
Tue, 15 Dec 2009 09:26:51 +0000
(
04:26
-0500)
committer
antirez
<antirez@gmail.com>
Tue, 15 Dec 2009 09:26:51 +0000
(
04:26
-0500)
test-redis.tcl
patch
|
blob
|
blame
|
history
diff --git
a/test-redis.tcl
b/test-redis.tcl
index 751059de26a2634766973a428a80fed50fc23e34..abaecbea47647a93faebceb05eabd2d90fab76b0 100644
(file)
--- a/
test-redis.tcl
+++ b/
test-redis.tcl
@@
-602,6
+602,11
@@
proc main {server port} {
lsort [$r smembers setres]
} [lsort -uniq "[$r smembers set1] [$r smembers set2]"]
+ test {SUNIONSTORE against non existing keys} {
+ $r set setres xxx
+ list [$r sunionstore setres foo111 bar222] [$r exists xxx]
+ } {0 0}
+
test {SINTER against three sets} {
$r sadd set3 999
$r sadd set3 995