[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: elogind: Reinstate test-user-util test.
From: |
guix-commits |
Subject: |
07/07: gnu: elogind: Reinstate test-user-util test. |
Date: |
Tue, 20 Feb 2024 22:38:45 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit f5a867765b26041e1ecc852ebcbc64c193d36648
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Feb 20 21:48:01 2024 -0500
gnu: elogind: Reinstate test-user-util test.
* gnu/packages/freedesktop.scm (elogind)
[configure-flags]: Add -Ddefault-user-shell=/bin/sh.
[phases] <adjust-tests>: Re-instate test-user-util.c test.
Change-Id: I123ee22c0a4a946c7c9120360d959497e9790385
---
gnu/packages/freedesktop.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 66561d11c1..b67f9183ca 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -697,7 +697,10 @@ the freedesktop.org XDG Base Directory specification.")
"-Dcgroup-controller=elogind"
"-Dman=true"
;; Disable some tests.
- "-Dslow-tests=false"))
+ "-Dslow-tests=false"
+ ;; Adjust the default user shell to /bin/sh (otherwise it is set
+ ;; to /bin/bash).
+ "-Ddefault-user-shell=/bin/sh"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-pkttyagent-path
@@ -716,11 +719,8 @@ the freedesktop.org XDG Base Directory specification.")
(("PKGSYSCONFDIR") "\"/etc/elogind\""))))
(add-after 'unpack 'adjust-tests
(lambda _
- ;; Skip the user-util tests, which depends on users such as
- ;; 'root' existing in the build environment.
(substitute* "src/test/meson.build"
- ((".*'test-user-util.c'.*") "")
- ((".*'test-cgroup.c'.*") ""))
+ ((".*'test-cgroup.c'.*") "")) ;no cgroup in container
;; This test tries to copy some bytes from /usr/lib/os-release,
;; which does not exist in the build container. Choose something
;; more likely to be available.
- branch core-updates updated (05e99036dc -> f5a867765b), guix-commits, 2024/02/20
- 02/07: gnu: commencement: Do not export unused make-gcc-toolchain., guix-commits, 2024/02/20
- 01/07: gnu: base: Add cautionary comments for canonical-package, %final-inputs usage., guix-commits, 2024/02/20
- 03/07: refresh: Import %final-inputs from (gnu packages base)., guix-commits, 2024/02/20
- 04/07: gnu: eudev: Update to 3.2.14., guix-commits, 2024/02/20
- 05/07: gnu: shepherd: Update alias to shepherd-0.10., guix-commits, 2024/02/20
- 07/07: gnu: elogind: Reinstate test-user-util test.,
guix-commits <=
- 06/07: gnu: mold: Update to 2.4.0., guix-commits, 2024/02/20