2 test
{Handle an empty query well
} {
4 puts -nonewline $fd "\r\n"
9 test
{Negative multi bulk command does not create problems
} {
11 puts -nonewline $fd "*-10\r\n"
16 test
{Negative multi bulk payload
} {
18 puts -nonewline $fd "SET x -10\r\n"
23 test
{Too big bulk payload
} {
25 puts -nonewline $fd "SET x 2000000000\r\n"
28 } {*invalid bulk
*count
*}
30 test
{Multi bulk request not followed by bulk args
} {
32 puts -nonewline $fd "*1\r\nfoo\r\n"
37 test
{Generic wrong number of args
} {
38 catch {r ping x y z
} err
40 } {*wrong
*arguments
*ping
*}