summaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/vnc.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/tests/vnc.scm b/gnu/tests/vnc.scm
index a34bc466b7..ab1c2749f3 100644
--- a/gnu/tests/vnc.scm
+++ b/gnu/tests/vnc.scm
@@ -113,7 +113,6 @@
(guix build utils)))
#~(begin
(use-modules (gnu build marionette)
- (guix build utils)
(srfi srfi-26)
(srfi srfi-64))
@@ -144,11 +143,12 @@
;; check it here.
(marionette-eval
'(begin
+ (use-modules (guix build utils))
;; Check that DCONF_PROFILE is set...
(invoke "/bin/sh" "-lc" "\
pgrep gdm | head -n1 | xargs -I{} grep -Fq DCONF_PROFILE /proc/{}/environ")
- ;; ... and that
+ ;; ... and that 'sleep-inactive-ac-type' is unset.
(invoke "/bin/sh" "-lc" "\
sudo -E -u gdm env DCONF_PROFILE=/etc/dconf/profile/gdm dbus-run-session \
gsettings get org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type \