~ruther/guix-local

1d1778da39e27d8112acd18e28625b2f4e0cff1c — Rodion Goritskov 6 months ago 3bbaf5b
tests: Update Debian image for foreign install test to Debian 13.

* 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>
1 files changed, 7 insertions(+), 4 deletions(-)

M gnu/tests/foreign.scm
M gnu/tests/foreign.scm => gnu/tests/foreign.scm +7 -4
@@ 272,24 272,27 @@ partition of IMAGE is expected to be on DEVICE."
                                 #:localstatedir? #t)))
    (gexp->derivation name (test tarball))))

(define debian-12-qcow2
(define debian-13-qcow2
  ;; Image taken from <https://www.debian.org/distrib/>.
  ;; XXX: Those images are periodically removed from debian.org.
  (origin
    (uri
     "https://cloud.debian.org/images/cloud/bookworm/20250210-2019/debian-12-nocloud-amd64-20250210-2019.qcow2")
     "https://cloud.debian.org/images/cloud/trixie/latest/debian-13-nocloud-amd64.qcow2")
    (method url-fetch)
    (sha256
     (base32
      "06vlcq2dzgczlyp9lfkkdf3dgvfjp22lh5xz0mnl0bdgzq61sykb"))))
      "0g7kcvz2yzr0xchlv5kc8d2rd2lzk4akh02i43i92cmys7q3r05c"))))

;; This test starts failing when derivations in repo for GNU Hello and its dependencies
;; differs from versions in current Guix package. The simple way to fix it is to update
;; Guix package version.
(define %test-debian-install
  (system-test
   (name "debian-install")
   (description
    "Test installation of Guix on Debian using the @file{guix-install.sh}
script.")
   (value (run-foreign-install-test debian-12-qcow2 name))))
   (value (run-foreign-install-test debian-13-qcow2 name))))

(define archlinux-qcow2
  ;; Images generated by <https://gitlab.archlinux.org/archlinux/arch-boxes>;