GNU bug report logs -
#64356
[PATCH 0/4] Fix GDM and VNC tests
Previous Next
Reported by: Bruno Victal <mirai <at> makinata.eu>
Date: Thu, 29 Jun 2023 20:41:01 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #50 received at 64356 <at> debbugs.gnu.org (full text, mbox):
Hi,
Bruno Victal <mirai <at> makinata.eu> writes:
> * gnu/tests/vnc.scm (run-xvnc-test): Use system* instead of invoke.
> ---
> gnu/tests/vnc.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/tests/vnc.scm b/gnu/tests/vnc.scm
> index 5c4bd43fa3..e59972eee4 100644
> --- a/gnu/tests/vnc.scm
> +++ b/gnu/tests/vnc.scm
> @@ -142,11 +142,11 @@ (define (run-xvnc-test)
> (marionette-eval
> '(begin
> ;; Check that DCONF_PROFILE is set...
> - (invoke "/bin/sh" "-lc" "\
> + (system* "/bin/sh" "-lc" "\
> pgrep gdm | head -n1 | xargs -I{} grep -Fq DCONF_PROFILE /proc/{}/environ")
>
> ;; ... and that
> - (invoke "/bin/sh" "-lc" "\
> + (system* "/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 \
> | grep -Fq nothing"))
Using system* instead of invoke would silence the errors as it doesn't
raise on errors.
The real cause of the problem was a09c7da ("tests: Fork and exec a new
Guile for the marionette REPL."), which I've fixed in 1edbadc6 ("tests:
xvnc: Fix 'gdm auto-suspend is disabled' test.").
Thanks for the report!
--
Thanks,
Maxim
This bug report was last modified 1 year and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.