diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-17 22:42:56 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-17 22:42:56 -0700 |
commit | b32e9240ec68f2493038c5cfbc9ca6859cca6ad8 (patch) | |
tree | c5ebde64b9c25568921a0e094531100ae04504da /t/bin | |
parent | 95417ca711a75612da86a25acd20134efdbc0e67 (diff) | |
download | rainbows-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-x | t/bin/content-md5-put | 2 |
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 ]) |