[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: tests: base: Compare all the service provisions, not just canonic
From: |
guix-commits |
Subject: |
02/09: tests: base: Compare all the service provisions, not just canonical names. |
Date: |
Thu, 18 Jul 2024 11:32:56 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a9d8ad6595b5501e3b257266370591759b5bd82e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jul 18 12:26:51 2024 +0200
tests: base: Compare all the service provisions, not just canonical names.
* gnu/tests/base.scm (run-basic-test)["shepherd services"]: Use
‘append-map’ on live service provisions to match what
‘operating-system-shepherd-service-names’ does.
Change-Id: Ie54082eed6c7b8d37d3428711e71c11e80940235
---
gnu/tests/base.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm
index acba1ebd25..715b9036f9 100644
--- a/gnu/tests/base.scm
+++ b/gnu/tests/base.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2022 Ludovic Courtès
<ludo@gnu.org>
+;;; Copyright © 2016-2020, 2022, 2024 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
@@ -200,14 +200,17 @@ info --version")
(test-assert "shepherd services"
(let ((services (marionette-eval
'(begin
- (use-modules (gnu services herd))
+ (use-modules (gnu services herd)
+ (srfi srfi-1))
- (map (compose car live-service-provision)
- (current-services)))
+ (append-map live-service-provision
+ (current-services)))
marionette)))
(lset= eq?
(pk 'services services)
- '(root #$@(operating-system-shepherd-service-names os)))))
+ '(root
+ shepherd
+ #$@(operating-system-shepherd-service-names os)))))
(test-equal "libc honors /etc/localtime"
-7200 ;CEST = GMT+2
- branch master updated (c2ba8b9e66 -> e3dfed59d3), guix-commits, 2024/07/18
- 01/09: guix build: Take ‘--system’ into account together with ‘-S’., guix-commits, 2024/07/18
- 06/09: gnu: Add python-xmp-toolkit., guix-commits, 2024/07/18
- 04/09: git: Remove untracked files from cached checkouts., guix-commits, 2024/07/18
- 03/09: gnu: hwloc: Update to 2.11.1., guix-commits, 2024/07/18
- 08/09: gnu: Add emacs-casual-calc., guix-commits, 2024/07/18
- 07/09: gnu: emacs-casual-dired: Update to 1.6.0., guix-commits, 2024/07/18
- 09/09: modules: ‘file-name->module-name’ strips leading “./”., guix-commits, 2024/07/18
- 05/09: gnu: musescore: Update to 4.3.2., guix-commits, 2024/07/18
- 02/09: tests: base: Compare all the service provisions, not just canonical names.,
guix-commits <=