summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2012-07-29 17:04:20 -0700
committerdormando <dormando@rydia.net>2012-07-29 17:04:20 -0700
commit7051da932fb220845f318fd7f21ce87136d119b3 (patch)
treed290d22980eecbcbf1e80d123ec20b382342dd48
parent1d0978c57574120d9e34770f19e6261f9f2eadb8 (diff)
downloadmemcached-7051da932fb220845f318fd7f21ce87136d119b3.tar.gz
add a binary touch test that actaully fails
-rwxr-xr-xt/binary.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/binary.t b/t/binary.t
index 504ddef..b427fc4 100755
--- a/t/binary.t
+++ b/t/binary.t
@@ -273,6 +273,10 @@ is($mc->decr("x", 211), 0, "Floor is zero");
$check->("totouch", 0, "toast2");
# Test miss as well
+ $mc->set("totouch", "toast3", 0, 1);
+ my $res = $mc->touch("totouch", 1);
+ sleep 3;
+ $empty->("totouch");
}
# diag "Silent set.";