From: antirez Date: Thu, 23 Apr 2009 16:48:11 +0000 (+0200) Subject: RANDOMKEY regression test added X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/f5785ae997611ac2fc628b6ad2d437a79530f7d6?ds=inline RANDOMKEY regression test added --- diff --git a/test-redis.tcl b/test-redis.tcl index 2fd95932..0e1c852f 100644 --- a/test-redis.tcl +++ b/test-redis.tcl @@ -624,6 +624,13 @@ proc main {server port} { $r randomkey } {} + test {RANDOMKEY regression 1} { + $r flushall + $r set x 10 + $r del x + $r randomkey + } {} + # Leave the user with a clean DB before to exit test {FLUSHALL} { $r flushall