summaryrefslogtreecommitdiff
path: root/gnu/tests/foreign.scm
AgeCommit message (Collapse)Author
2026-03-10tests: debian-install: Refresh test inputs.Efraim Flashner
* gnu/tests/foreign.scm (debian-13-qcow2, debian-uidmap-deb-file): Replace with newer versions. Change-Id: Ic3a3972a4a210ae95e5dad8a80e91f19353b4554
2025-12-28tests: Add Fedora foreign distribution test.Rodion Goritskov
* gnu/tests/foreign.scm (qcow-image-with-marionette): - Create .autorelabel file to make copied Guile work on SELinux-enabled systems. (resize-lvm-xfs-partition): New variable. (run-foreign-install-test): Increase RAM for VM to 1024 as 512 is not sufficient to run Guix installation on Fedora. (fedora-qcow2): New variable. (%test-fedora-install): New variable. Change-Id: Ib247a174dfea8630d830763410391077516a8c16 Merges: #5007
2025-12-28tests: foreign: Add Ubuntu test.Rutherther
This one is a bit more complicated than the other ones, because the qcow2 image is too small to hold the tarball contents. So I have decided to add in logic to resize the qemu img, the partition and the filesystem. * gnu/tests/foreign.scm (ubuntu-qcow2): New variable. (ubuntu-uidmap-deb-file): New variable. (ubuntu-libsuid4-deb-file): New variable. (%test-ubuntu-install): New variable. Change-Id: Ib705cfe0aeab5e6ede284b8eff06483aea617349e Signed-off-by: Rutherther <rutherther@ditigal.xyz> Merges: #4997 Change-Id: I17472d160665fa4965d1c1ee00d671746bd5fb74
2025-12-28tests: foreign: Add utilities for resizing foreign images.Rutherther
* gnu/tests/foreign.scm (qcow-image-with-marionette): Add resize-image and resize-proc to resize the image, the partition and the file system. (resize-ext4-partition): New variable. (run-foreign-install-test): Add resize-image and resize-proc; Pass them to qcow-image-with-marionette. Change-Id: I92dbe0cdcafb5ff0a0b6c3e9b96205b4ad9d10e8 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-12-25tests: foreign: Add test restarting guix-daemon.Rutherther
* gnu/tests/foreign.scm (run-foreign-install-test): Restart the daemon, build and gc afterwards. Followup of 9a78e760762c1d93369e765bdce12388e1662ec6. Change-Id: Ia2304d6b9c83b5b8f410426ce00e078c2f004198 Signed-off-by: Rutherther <rutherther@ditigal.xyz>
2025-11-24tests: debian-install: Use download mirror for uidmap source.Efraim Flashner
* gnu/tests/foreign.scm (debian-uidmap-deb-file): Download using a mirror-url. Change-Id: I6036c553e6caba132c961658cb542d06d05e29b3
2025-11-24tests: debian-install: Fix debian-13 qcow2 image.Efraim Flashner
* gnu/tests/foreign.scm (debian-13-qcow2): Adjust source uri to point to the same image. Change-Id: I975140f2febcf0781e6a9c67981b3896629de050
2025-10-21tests: debian-install: Install the ‘uidmap’ package.Ludovic Courtès
* gnu/tests/foreign.scm (run-foreign-install-test): Add #:deb-files. [test]("install extra .deb packages"): New test. (debian-uidmap-deb-file): New variable. (%test-debian-install): Pass it via #:deb-files. Change-Id: I489056131d6ff20763457c29610af71866a396b2
2025-10-20tests: Update Archlinux image for foreign install test.Rodion Goritskov
* guix/tests/foreign.scm (archlinux-qcow2): update URL and checksum. (%test-archlinux-install): add comment on possible test failure. Change-Id: Ib1d6040f416a0a1117f956bc15111a0240dfb86b Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-10-20tests: Update Debian image for foreign install test to Debian 13.Rodion Goritskov
* guix/tests/foreign.scm (debian-12-qcow2): rename to debian-13-qcow2. (debian-13-qcow2): new URL and checksum. (%test-debian-install): use new variable. (%test-debian-install): add comment on possible test failures. Change-Id: I0eb241b5c88f73a822edb20815fe09f8c76a2b6b Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-07-18tests: foreign: Add ‘archlinux-install’ test.Ludovic Courtès
* gnu/tests/foreign.scm (archlinux-qcow2, %test-archlinux-install): New variables. Co-authored-by: Ivan Popovych <ivan@ipvych.com> Change-Id: I2fce962a2eafa58fafaf2bdff25fc23df28fd687
2025-07-18tests: foreign: Parameterize root partition device.Ludovic Courtès
* gnu/tests/foreign.scm (run-foreign-install-test): Add #:device parameter and honor it. Change-Id: I68bddaa25e9ba4131fc10366efed6772a3586a31
2025-07-18tests: foreign: Forcefully delete /bin/{wget,gpg}.Ludovic Courtès
* gnu/tests/foreign.scm (run-foreign-install-test)[build]: Attempt to delete /bin/{wget,gpg} before recreating them. Change-Id: I5260cae7f706ce9a492a86b1859591c8446e04a3
2025-07-18tests: foreign: Preserve distro image size.Ludovic Courtès
* 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-18tests: foreign: Catch failure to mount distro image.Ludovic Courtès
* gnu/tests/foreign.scm (qcow-image-with-marionette)[build]: Call ‘error’ when ‘mount’ exits with a non-zero code. Change-Id: I7c608e0aa7dff1447c9df778951d7a5256e47255
2025-03-10tests: Factorize ‘guix-daemon’ test cases.Ludovic Courtès
* 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-10tests: Factorize ‘%hello-dependencies-manifest’.Ludovic Courtès
* gnu/tests/base.scm (%hello-dependencies-manifest): Export. * gnu/tests/foreign.scm (%installation-tarball-manifest): Use it. Change-Id: Id92232f479ab5d1f0c48036b0546e3745aa63e52
2025-03-05tests: Test installation on Debian.Ludovic Courtès
* gnu/tests/foreign.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Change-Id: I1f24d83bdc298acbef15db2e19775cc1d3fbd56c