summaryrefslogtreecommitdiff
path: root/gnu/tests/desktop.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/desktop.scm')
-rw-r--r--gnu/tests/desktop.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/tests/desktop.scm b/gnu/tests/desktop.scm
index 6aa22fd49b..67e530d392 100644
--- a/gnu/tests/desktop.scm
+++ b/gnu/tests/desktop.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2017, 2021 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -46,6 +46,7 @@
(mkdir #$output)
(chdir #$output)
+ (test-runner-current (system-test-runner))
(test-begin "elogind")
;; Log in as root on tty1, and check what 'loginctl' returns.
@@ -83,8 +84,7 @@
(guest-file "/root/seats")
(guest-file "/root/users")))))
- (test-end)
- (exit (= (test-runner-fail-count (test-runner-current)) 0)))))
+ (test-end))))
(gexp->derivation "elogind" test))