From 1b1eae69ce52ef6c89a1200e8d3758549b291991 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 19 Nov 2015 13:13:31 +0100 Subject: 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. --- test/test-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test-functions b/test/test-functions index a6eea662fc..0a9d4f80ac 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" <