Subject: [PATCH 0/5] Test guix-daemon on Guix System
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Cc: Ludovic Courtès <[email-masked]>
Date: Fri, 28 Feb 2025 10:56:12 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix!

After writing system tests for Guix installation on Debian¹ and
in light of the need for tests with the “rootless” daemon changes²,
I realized we had no guix-daemon tests , I realized we had no
guix-daemon tests for Guix System—nothing that excercises chroot,
use of the separate build users, etc.

This patch series does that, factorizing most of the code with
the Debian install test (it depends on that patch series).

It also tidies up (gnu tests base).

Thoughts?

Ludo’.

¹ https://issues.guix.gnu.org/76488
² https://issues.guix.gnu.org/75810

Ludovic Courtès (5):
  tests: Move mcron test to its own file.
  tests: Move Avahi test to its own file.
  tests: Add ‘guix-daemon’ test.
  tests: Factorize ‘%hello-dependencies-manifest’.
  tests: Factorize ‘guix-daemon’ test cases.

 gnu/local.mk          |   2 +
 gnu/tests/avahi.scm   | 183 +++++++++++++++++
 gnu/tests/base.scm    | 449 +++++++++++++++++++-----------------------
 gnu/tests/foreign.scm | 107 +---------
 gnu/tests/mcron.scm   | 118 +++++++++++
 5 files changed, 508 insertions(+), 351 deletions(-)
 create mode 100644 gnu/tests/avahi.scm
 create mode 100644 gnu/tests/mcron.scm

base-commit: 4d20e358c38b778b2447bd88ec6abe16b919abc4
-- 
2.48.1