Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
01daeece
Commit
01daeece
authored
Aug 24, 2010
by
antirez
Browse files
added tests for invalid bulk argument
parent
a679185a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/protocol.tcl
View file @
01daeece
...
...
@@ -27,6 +27,13 @@ start_server {} {
gets $fd
}
{
*invalid bulk*count*
}
test
{
bulk payload is not a number
}
{
set fd
[
r channel
]
puts -nonewline $fd
"SET x blabla
\r\n
"
flush $fd
gets $fd
}
{
*invalid bulk*count*
}
test
{
Multi bulk request not followed by bulk args
}
{
set fd
[
r channel
]
puts -nonewline $fd
"*1
\r\n
foo
\r\n
"
...
...
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