diff options
author | Daniel Mack <daniel@zonque.org> | 2015-11-19 13:13:31 +0100 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-11-19 14:25:32 +0100 |
commit | 1b1eae69ce52ef6c89a1200e8d3758549b291991 (patch) | |
tree | 5faef02be8d2ad6fa8e4004126288c96be744149 /test/test-functions | |
parent | 265fb8052dc3ca334951a5693cdfd6fb968c94c7 (diff) |
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.
Diffstat (limited to 'test/test-functions')
-rw-r--r-- | test/test-functions | 4 |
1 files changed, 2 insertions, 2 deletions
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" <<EOF -,290M +,390M , EOF |