"doc/LsetCommand.html" did not exist on "81d456450ac42b7cf78367ae3a89af1a543c9ff1"
Commit b1ba58f3 authored by antirez's avatar antirez
Browse files

SDIFF iterator misuse bug regression test added.

See commit c00453da for more info about the bug.
parent c00453da
...@@ -214,6 +214,12 @@ start_server { ...@@ -214,6 +214,12 @@ start_server {
r sdiff set1 set2 set3 r sdiff set1 set2 set3
} {} } {}
test "SDIFF with same set two times" {
r del set1
r sadd set1 a b c 1 2 3 4 5 6
r sdiff set1 set1
} {}
test "SDIFF fuzzing" { test "SDIFF fuzzing" {
for {set j 0} {$j < 100} {incr j} { for {set j 0} {$j < 100} {incr j} {
unset -nocomplain s unset -nocomplain s
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment