]> git.ekhem.eu.org Git - guix.git/commit
[tests] Use static networking in test VM; restructure test harness.
authorJakub Czajka <jakub@ekhem.eu.org>
Wed, 15 Jul 2026 10:34:53 +0000 (10:34 +0000)
committerJakub Czajka <jakub@ekhem.eu.org>
Wed, 15 Jul 2026 10:34:53 +0000 (10:34 +0000)
commit94046229d0dec0afcb38abe84180485cbe1aacff
tree8efcf3b4c47ab10b02b44039cb3ff862d3cc695e
parent469eaa239ff890c976cd3aeeed5d6c87d9dafb64
[tests] Use static networking in test VM; restructure test harness.

QEMU user-mode networking provides DHCP, but dhcpcd can hang during
early boot when the DHCP server is slow to respond, blocking the
marionette REPL from connecting.  Replace it with static networking
(10.0.2.15/24 on eth0, gateway 10.0.2.2).

system-test-runner exits the process after the first test group
completes, so the VPS test must consolidate all assertions into a
single test-begin/test-end wrapping.  Each test module (sshd,
networking, ntp) now returns bare assertions without its own
begin/end pair.
tests/networking.scm
tests/ntp.scm
tests/sshd.scm
tests/vps-base.scm