From: antirez Date: Tue, 15 Dec 2009 09:26:51 +0000 (-0500) Subject: Regression test for SINTERSTORE added X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/f4d9b3c62afe87f3b51f6c9279ad721a26241583?ds=sidebyside Regression test for SINTERSTORE added --- diff --git a/test-redis.tcl b/test-redis.tcl index 751059de..abaecbea 100644 --- 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