aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/tests/desktop.scm12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/tests/desktop.scm b/gnu/tests/desktop.scm
index 95b33da25e..137260ea93 100644
--- a/gnu/tests/desktop.scm
+++ b/gnu/tests/desktop.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2017, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 muradm <mail@muradm.net>
;;;
;;; This file is part of GNU Guix.
@@ -62,7 +62,8 @@
(marionette-eval
'(begin
(use-modules (gnu services herd))
- (start-service 'term-tty1))
+ (start-service 'term-tty1)
+ (start-service 'elogind))
marionette)
(marionette-control "sendkey ctrl-alt-f1" marionette)
@@ -86,6 +87,13 @@
(guest-file "/root/seats")
(guest-file "/root/users")))))
+ (test-assert "screendump"
+ (begin
+ (let ((capture (string-append #$output "/tty1.ppm")))
+ (marionette-control
+ (string-append "screendump " capture) marionette)
+ (file-exists? capture))))
+
(test-end))))
(gexp->derivation "elogind" test))
le='2018-11-06 23:21:24 +0100'>2018-11-06pack: Add test for 'self-contained-tarball' with localstatedir.Ludovic Courtès * tests/pack.scm ("self-contained-tarball + localstatedir"): New test. 2018-11-06pack: Squashfs backend now honors '--localstatedir'.Ludovic Courtès * guix/scripts/pack.scm (squashfs-image)[database]: New variable. [build]: Add (gnu build install) to the closure. Call 'install-database-and-gc-roots' when DATABASE is true, and invoke mksquashfs once more. * tests/pack.scm ("squashfs-image + localstatedir"): New test. 2018-11-06pack: Docker backend now honors '--localstatedir'.Ludovic Courtès * guix/docker.scm (build-docker-image): Add #:database parameter. Create /var/guix/db, /var/guix/profiles, etc. when DATABASE is true. * guix/scripts/pack.scm (docker-image): Export. Remove #:deduplicate? parameter. Define 'database' and pass it to 'docker-image'. * tests/pack.scm (test-assertm): Recompile the derivation of %BOOTSTRAP-GUILE. ("docker-image + localstatedir"): New test. 2018-11-06pack: Import (guix store database) only when '--localstatedir' is passed.Ludovic Courtès This is another way to address <https://bugs.gnu.org/32184>, which was previously addressed in commit 19c924af4f3726688ca155a905ebf1cb9acdfca2. * gnu/build/install.scm (register-closure): Move to... * gnu/build/vm.scm (register-closure): ... here. New procedure. * guix/scripts/pack.scm (self-contained-tarball)[build]: Remove now unneeded 'with-extensions' form and custom (guix config) module. * tests/guix-pack.sh: Revert the strategy from commit 19c924af4f3726688ca155a905ebf1cb9acdfca2. * tests/pack.scm ("self-contained-tarball"): Likewise. 2018-10-28tests: Fix typo.Ludovic Courtès This is a followup to 19c924af4f3726688ca155a905ebf1cb9acdfca2. * tests/pack.scm: Fix typo in 'test-skip'.