]> git.saurik.com Git - redis.git/blobdiff - tests/support/redis.tcl
Return OK on QUIT
[redis.git] / tests / support / redis.tcl
index 7c7c65c6564f2cb1847d695b53d35a0f78c685f5..98cf86f093d7fa1be246c57b1cc9738bac8474c9 100644 (file)
@@ -123,6 +123,14 @@ proc ::redis::__method__read {id fd} {
     ::redis::redis_read_reply $fd
 }
 
+proc ::redis::__method__write {id fd buf} {
+    ::redis::redis_write $fd $buf
+}
+
+proc ::redis::__method__flush {id fd} {
+    flush $fd
+}
+
 proc ::redis::__method__close {id fd} {
     catch {close $fd}
     catch {unset ::redis::fd($id)}