summaryrefslogtreecommitdiff
path: root/gnu/tests
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 /gnu/tests
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
Diffstat (limited to 'gnu/tests')
-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 fac24fc5dad..3e52d8139d8 100644
--- a/gnu/tests/foreign.scm
+++ b/gnu/tests/foreign.scm
@@ -77,8 +77,7 @@ system is expected to be on DEVICE."
77 77
78 (invoke #+(file-append qemu "/bin/qemu-img") 78 (invoke #+(file-append qemu "/bin/qemu-img")
79 "create" "-b" #$image 79 "create" "-b" #$image
80 "-F" "qcow2" "-f" "qcow2" target-image 80 "-F" "qcow2" "-f" "qcow2" target-image)
81 "10G")
82 81
83 ;; Run a VM that will mount IMAGE and populate it. This is somewhat 82 ;; Run a VM that will mount IMAGE and populate it. This is somewhat
84 ;; more convenient to set up than 'guestfish' from libguestfs. 83 ;; more convenient to set up than 'guestfish' from libguestfs.