Change tests to use either the inline or the multibulk protocol

This commit is contained in:
Pieter Noordhuis
2010-10-15 17:25:20 +02:00
parent 5b12b47df9
commit dc11daf3b5
4 changed files with 58 additions and 51 deletions

View File

@ -172,7 +172,7 @@ start_server {tags {"basic"}} {
test {Commands pipelining} {
set fd [r channel]
puts -nonewline $fd "SET k1 4\r\nxyzk\r\nGET k1\r\nPING\r\n"
puts -nonewline $fd "SET k1 xyzk\r\nGET k1\r\nPING\r\n"
flush $fd
set res {}
append res [string match OK* [::redis::redis_read_reply $fd]]