summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-07-14 18:37:03 +0200
committerLudovic Courtès <ludo@gnu.org>2025-07-18 00:43:50 +0200
commit08c23d2c13df1492307793e31889c22da89bf3f0 (patch)
tree40523d250fffc1a1003230c6ab798675a327ab5e
parent224361d3a354e0309b0070b067bbfbba618f40e5 (diff)
tests: foreign: Preserve distro image size.
* gnu/tests/foreign.scm (qcow-image-with-marionette): Remove the “10G” argument to ‘qemu-img create’ since it could lead to corrupt images—e.g., with the Arch Linux image. Change-Id: I92d7551a16f325376c98d32e2cd6a01f8ed05e51
-rw-r--r--gnu/tests/foreign.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/tests/foreign.scm b/gnu/tests/foreign.scm
index fac24fc5da..3e52d8139d 100644
--- a/gnu/tests/foreign.scm
+++ b/gnu/tests/foreign.scm
@@ -77,8 +77,7 @@ system is expected to be on DEVICE."
(invoke #+(file-append qemu "/bin/qemu-img")
"create" "-b" #$image
- "-F" "qcow2" "-f" "qcow2" target-image
- "10G")
+ "-F" "qcow2" "-f" "qcow2" target-image)
;; Run a VM that will mount IMAGE and populate it. This is somewhat
;; more convenient to set up than 'guestfish' from libguestfs.