From: Lennart Poettering Date: Fri, 6 Feb 2026 11:16:15 +0000 (+0100) Subject: test: bump disk sizes for some test cases X-Git-Tag: v257.11~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bdbfa5c6903d1a5e705a3ead28da6a20079f8cd;p=thirdparty%2Fsystemd.git test: bump disk sizes for some test cases In my testing I switched building my locally run CI integration tests to ArchLinux and realized that for that the default sizes don't work anymore, the images are larger than the space allocated. Let's bump the size by 50% for the relevant disk images. (cherry picked from commit ab89fad427b7bee6f3102708bf8bdf15fd607d9e) (cherry picked from commit b1ce991244425abe76c3a217af4b271c437b997f) (cherry picked from commit 6a8f10b9557eeaa94175dcf93ba9e1811badfbef) --- diff --git a/test/units/TEST-13-NSPAWN.machined.sh b/test/units/TEST-13-NSPAWN.machined.sh index ee2fdb13232..aeff2d8fc5e 100755 --- a/test/units/TEST-13-NSPAWN.machined.sh +++ b/test/units/TEST-13-NSPAWN.machined.sh @@ -190,7 +190,7 @@ test ! -d /var/lib/machines/.hidden1 # Prepare a simple raw container mkdir -p /tmp/mnt -truncate -s 256M /var/tmp/container.raw +truncate -s 384M /var/tmp/container.raw mkfs.ext4 /var/tmp/container.raw mount -o loop /var/tmp/container.raw /tmp/mnt cp -r /var/lib/machines/container1/* /tmp/mnt diff --git a/test/units/TEST-13-NSPAWN.nspawn.sh b/test/units/TEST-13-NSPAWN.nspawn.sh index 841a75b8dd6..9c9bbb6507f 100755 --- a/test/units/TEST-13-NSPAWN.nspawn.sh +++ b/test/units/TEST-13-NSPAWN.nspawn.sh @@ -86,7 +86,7 @@ testcase_sanity() { create_dummy_container "$template" # Create a simple image from the just created container template image="$(mktemp /var/lib/machines/TEST-13-NSPAWN.image-XXX.img)" - truncate -s 256M "$image" + truncate -s 384M "$image" mkfs.ext4 "$image" mkdir -p /mnt mount -o loop "$image" /mnt