about summary refs log tree commit homepage
path: root/t/bin
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-10-17 22:42:56 -0700
committerEric Wong <normalperson@yhbt.net>2009-10-17 22:42:56 -0700
commitb32e9240ec68f2493038c5cfbc9ca6859cca6ad8 (patch)
treec5ebde64b9c25568921a0e094531100ae04504da /t/bin
parent95417ca711a75612da86a25acd20134efdbc0e67 (diff)
downloadrainbows-b32e9240ec68f2493038c5cfbc9ca6859cca6ad8.tar.gz
Just in case we break something.  Also add staggered
blob test to simulate slow client uploads.
Diffstat (limited to 't/bin')
-rwxr-xr-xt/bin/content-md5-put2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/bin/content-md5-put b/t/bin/content-md5-put
index c35c92c..4f02a85 100755
--- a/t/bin/content-md5-put
+++ b/t/bin/content-md5-put
@@ -22,7 +22,7 @@ if ARGV.grep("--no-headers").empty?
 end
 
 digest = Digest::MD5.new
-if buf = $stdin.read(bs)
+if buf = $stdin.readpartial(bs)
   begin
     digest.update(buf)
     $stdout.write("%x\r\n" % [ buf.size ])