]> git.saurik.com Git - redis.git/commitdiff
Test for regression about: Redis should not try to convert DEL into EXPIREAT for...
authorantirez <antirez@gmail.com>
Fri, 8 Jul 2011 10:20:30 +0000 (12:20 +0200)
committerantirez <antirez@gmail.com>
Fri, 8 Jul 2011 10:20:30 +0000 (12:20 +0200)
tests/integration/aof.tcl

index 954edc2c4959646ae5583313efb4a75d79596fa7..3c77cb9664d19c3d140ef88c7f33c9e1dc4dc387 100644 (file)
@@ -119,4 +119,11 @@ tags {"aof"} {
             assert_equal 0 [$client llen list]
         }
     }
+
+    start_server {overrides {appendonly {yes} appendfilename {appendonly.aof}}} {
+        test {Redis should not try to convert DEL into EXPIREAT for EXPIRE -1} {
+            r set x 10
+            r expire x -1
+        }
+    }
 }