summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-03-23 08:43:18 +0100
committerJakob Borg <jakob@nym.se>2014-03-23 08:43:18 +0100
commit6d7b001b0b37025b0e1bbc968d4fed9aacce7a3b (patch)
treef127e5380fbbdfc0b0d781822228f7326f8ace13
parent75cfa4c33e171f3acc8e69033285331a7264f5a6 (diff)
Test syncing large files
-rwxr-xr-xintegration/test.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/integration/test.sh b/integration/test.sh
index 027da4fc79..a62eecedd0 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