The test case below relies on /etc/groups and similar info that is
not available in chroot builds, so skip it.
--- scheme48-1.9/scheme/posix/check.scm 2013-05-11 21:55:36.000000000 +0200
+++ scheme48-1.9/scheme/posix/check.scm 2013-05-11 21:55:40.000000000 +0200
@@ -229,29 +229,7 @@
; This assumes that we are not running as root and that / is owned by root.
-(define-test-case users&groups posix-core-tests
- (let ((my-info (get-file-info directory-name))
- (root-info (get-file-info "/")))
- (let ((my-user (user-id->user-info (file-info-owner my-info)))
- (root-user (user-id->user-info (file-info-owner root-info)))
- (my-group (group-id->group-info (file-info-group my-info)))
- (root-group (group-id->group-info (file-info-group root-info))))
- (let ((my-other-user (name->user-info (user-info-name my-user)))
- (my-other-group (name->group-info (group-info-name my-group))))
- (check-that (file-info-owner my-info)
- (is user-id=? (user-info-id my-user)))
- (check-that (file-info-owner root-info)
- (opposite (is user-id=? (user-info-id my-user))))
- (check-that (file-info-group my-info)
- (is group-id=? (group-info-id my-group)))
- ;; doesn't work reliably
- ;; (specifically, if the user is member of wheel)
- ;; (check (not (group-id=? (file-info-group root-info)
- ;; (group-info-id my-group))))
- (check-that (os-string->string (user-info-name root-user))
- (member-of '("root"
- "bin" ; AIX
- )))))))
+
(define-test-case environment posix-core-tests
(let ((env (reverse (environment-alist))))
'>
Age | Commit message (Expand) | Author |
2022-03-16 | gnu : nicotine+: Update to 3.2.1....* gnu/packages/nicotine.scm (nicotine+): Update to 3.2.1.
[source]: Delete network requried tests in snippet.
[arguments]: Remove trailing #t.
Replae 'check phase to run proper test.
[inputs]: Add bash-minimal, gspell, libappindicator.
[native-inputs]: Remove python-pytest. Add xvfb-run.
[home-page]: Update URL.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Fatima Toothpaste |
2021-12-13 | gnu: Simplify package inputs....This commit was obtained by running:
./pre-inst-env guix style
without any additional argument.
| Ludovic Courtès |
2020-11-30 | gnu: nicotine: Update to 2.1.2....* gnu/packages/nicotine.scm (nicotine+): Update to 2.1.2.
[inputs]: Remove python-mutagen and python-dbus. Add python-pytaglib.
[native-inputs]: Add gettext-minimal.
[arguments]: Apply the 'glib-or-gtk-wrap' and 'glib-or-gtk-compile-schemas'
phases from the glib-or-gtk-build-system.
Signed-off-by: Leo Famulari <leo@famulari.name>
| Martin Becze |