Test for regression about: Redis should not try to convert DEL into EXPIREAT for EXPIRE -1

This commit is contained in:
antirez 2011-07-08 12:20:30 +02:00
parent 812ecc8b10
commit 5521fa6a9f

View 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
}
}
}