diff options
author | Dustin Sallings <dustin@spy.net> | 2009-01-25 17:50:45 -0800 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-01-25 18:07:21 -0800 |
commit | a641717f1d5b47e28b1fc667a6805a62608f56c8 (patch) | |
tree | 30b94925c2522fa5da8e91dfe8c081c03728a3bf /t | |
parent | d1979bc10fe73ef4cf56186e64342f26778caefb (diff) | |
download | memcached-a641717f1d5b47e28b1fc667a6805a62608f56c8.tar.gz |
Silent append and prepend tests.
Diffstat (limited to 't')
-rwxr-xr-x | t/binary.t | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -281,9 +281,23 @@ diag "Prepend"; $check->($key, 19, "prefixed " . $value); } -diag "TODO: Silent append"; +diag "Silent append"; +{ + my $key = "appendqkey"; + my $value = "some value"; + $set->($key, 8, 19, $value); + $mc->send_silent(::CMD_APPENDQ, $key, " more", 7284492); + $check->($key, 19, $value . " more"); +} -diag "TODO: Silent prepend"; +diag "Silent prepend"; +{ + my $key = "prependqkey"; + my $value = "some value"; + $set->($key, 8, 19, $value); + $mc->send_silent(::CMD_PREPENDQ, $key, "prefixed ", 7284492); + $check->($key, 19, "prefixed " . $value); +} package MC::Client; |