summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-05-31 16:43:21 +0200
committerantirez <antirez@gmail.com>2016-05-31 16:43:23 +0200
commit231c9db1b512b491c0082f503df066daac006027 (patch)
tree554f852a679d7247e7167617f9ff465415ac9db1 /tests
parent2503acfc83753e78045346c4b4993d5d34cf57d2 (diff)
downloadredis-231c9db1b512b491c0082f503df066daac006027.tar.gz
Now that SPOP can be called by scripts use BLPOP on 's' flag test.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/scripting.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/scripting.tcl b/tests/unit/scripting.tcl
index 825a73ed3..be82e1559 100644
--- a/tests/unit/scripting.tcl
+++ b/tests/unit/scripting.tcl
@@ -142,7 +142,7 @@ start_server {tags {"scripting"}} {
test {EVAL - Scripts can't run certain commands} {
set e {}
- catch {r eval {return redis.pcall('spop','x')} 0} e
+ catch {r eval {return redis.pcall('blpop','x',0)} 0} e
set e
} {*not allowed*}