Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
231c9db1
Commit
231c9db1
authored
May 31, 2016
by
antirez
Browse files
Now that SPOP can be called by scripts use BLPOP on 's' flag test.
parent
2503acfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/scripting.tcl
View file @
231c9db1
...
@@ -142,7 +142,7 @@ start_server {tags {"scripting"}} {
...
@@ -142,7 +142,7 @@ start_server {tags {"scripting"}} {
test
{
EVAL - Scripts can't run certain commands
}
{
test
{
EVAL - Scripts can't run certain commands
}
{
set e
{}
set e
{}
catch
{
r eval
{
return redis.pcall
(
'
s
pop','x'
)}
0
}
e
catch
{
r eval
{
return redis.pcall
(
'
bl
pop','x'
,0
)}
0
}
e
set e
set e
}
{
*not allowed*
}
}
{
*not allowed*
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment