mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
added tests for invalid bulk argument
This commit is contained in:
parent
a679185aa5
commit
01daeecee7
1 changed files with 7 additions and 0 deletions
|
|
@ -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\nfoo\r\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue