Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f4d9b3c6
Commit
f4d9b3c6
authored
Dec 15, 2009
by
antirez
Browse files
Regression test for SINTERSTORE added
parent
0d36ded0
Changes
1
Show whitespace changes
Inline
Side-by-side
test-redis.tcl
View file @
f4d9b3c6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment