From 6d7b001b0b37025b0e1bbc968d4fed9aacce7a3b Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 23 Mar 2014 08:43:18 +0100 Subject: [PATCH] Test syncing large files --- integration/test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/integration/test.sh b/integration/test.sh index 027da4fc..a62eeced 100755 --- a/integration/test.sh +++ b/integration/test.sh @@ -63,6 +63,8 @@ for i in 1 2 3 ; do touch "empty-$i" echo " $i: common file" dd if=/dev/urandom of=common bs=1000 count=1000 2>/dev/null + echo " $i: large file" + dd if=/dev/urandom of=large-$i bs=1024k count=55 2>/dev/null popd >/dev/null done @@ -86,7 +88,9 @@ for i in 1 2 3 ; do pushd "s$i" >/dev/null rm -rf */?[02468ace] ../genfiles -maxexp 22 -files 600 - ../md5r -l > ../md5-$i + echo " $i: append to large file" + dd if=/dev/urandom bs=1024k count=4 >> large-$i 2>/dev/null + ../md5r -l | egrep -v "large-[^$i]" > ../md5-$i popd >/dev/null done