From: Daniel Mack Date: Thu, 19 Nov 2015 12:13:31 +0000 (+0100) Subject: test: increase loop device size to 400MB X-Git-Tag: v229~277^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b1eae69ce52ef6c89a1200e8d3758549b291991;p=thirdparty%2Fsystemd.git test: increase loop device size to 400MB It turns out the full OS tree which is assembled into the loop-dev mount point is bigger than 300MB. Increase the size. --- diff --git a/test/test-functions b/test/test-functions index a6eea662fc4..0a9d4f80ac1 100644 --- a/test/test-functions +++ b/test/test-functions @@ -142,12 +142,12 @@ install_missing_libraries() { create_empty_image() { rm -f "$TESTDIR/rootdisk.img" # Create the blank file to use as a root filesystem - dd if=/dev/null of="$TESTDIR/rootdisk.img" bs=1M seek=300 + dd if=/dev/null of="$TESTDIR/rootdisk.img" bs=1M seek=400 LOOPDEV=$(losetup --show -P -f $TESTDIR/rootdisk.img) [ -b "$LOOPDEV" ] || return 1 echo "LOOPDEV=$LOOPDEV" >> $STATEFILE sfdisk "$LOOPDEV" <