Commit graph

8 commits

Author SHA1 Message Date
Ludovic Courtès
951e39718a
tests: foreign: Add ‘archlinux-install’ test.
* gnu/tests/foreign.scm (archlinux-qcow2, %test-archlinux-install): New
variables.

Co-authored-by: Ivan Popovych <ivan@ipvych.com>
Change-Id: I2fce962a2eafa58fafaf2bdff25fc23df28fd687
2025-07-18 00:43:51 +02:00
Ludovic Courtès
bf79804508
tests: foreign: Parameterize root partition device.
* gnu/tests/foreign.scm (run-foreign-install-test): Add #:device
parameter and honor it.

Change-Id: I68bddaa25e9ba4131fc10366efed6772a3586a31
2025-07-18 00:43:50 +02:00
Ludovic Courtès
9596822a6c
tests: foreign: Forcefully delete /bin/{wget,gpg}.
* gnu/tests/foreign.scm (run-foreign-install-test)[build]: Attempt to
delete /bin/{wget,gpg} before recreating them.

Change-Id: I5260cae7f706ce9a492a86b1859591c8446e04a3
2025-07-18 00:43:50 +02:00
Ludovic Courtès
08c23d2c13
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
2025-07-18 00:43:50 +02:00
Ludovic Courtès
224361d3a3
tests: foreign: Catch failure to mount distro image.
* gnu/tests/foreign.scm (qcow-image-with-marionette)[build]: Call
‘error’ when ‘mount’ exits with a non-zero code.

Change-Id: I7c608e0aa7dff1447c9df778951d7a5256e47255
2025-07-18 00:43:50 +02:00
Ludovic Courtès
3511dab3f7
tests: Factorize ‘guix-daemon’ test cases.
* gnu/tests/base.scm (guix-daemon-test-cases): New procedure, with code
moved from…
(run-guix-daemon-test): … here. Use it.
* gnu/tests/foreign.scm (run-foreign-install-test): Likewise.

Change-Id: I6f2d03d30d7b7648b6eb7e77e36c3da54f80d79c
2025-03-10 15:41:34 +01:00
Ludovic Courtès
39c890cacf
tests: Factorize ‘%hello-dependencies-manifest’.
* gnu/tests/base.scm (%hello-dependencies-manifest): Export.
* gnu/tests/foreign.scm (%installation-tarball-manifest): Use it.

Change-Id: Id92232f479ab5d1f0c48036b0546e3745aa63e52
2025-03-10 15:41:33 +01:00
Ludovic Courtès
f57a660fc6
tests: Test installation on Debian.
* gnu/tests/foreign.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Change-Id: I1f24d83bdc298acbef15db2e19775cc1d3fbd56c
2025-03-05 20:34:04 +01:00