From da1f703439231efdf4b87021d5625478dfa3f093 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 18 Feb 2021 14:16:14 -0800 Subject: [PATCH] Fix schema stuff in previous commit to work properly Signed-off-by: Adam Williamson --- tests/desktop_login.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/desktop_login.pm b/tests/desktop_login.pm index 0f91671e..dfe7ba79 100644 --- a/tests/desktop_login.pm +++ b/tests/desktop_login.pm @@ -207,7 +207,8 @@ sub run { adduser(name=>"Jack Sparrow", login=>"jack", password=>$jackpass); if ($desktop eq "gnome") { # suppress the Welcome Tour for new users in GNOME 40+ - assert_script_run 'echo "welcome-dialog-last-shown-version=\'4294967295\'" > /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override'; + assert_script_run 'printf "[org.gnome.shell]\nwelcome-dialog-last-shown-version=\'4294967295\'\n" > /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.override'; + assert_script_run 'glib-compile-schemas /usr/share/glib-2.0/schemas'; # In Gnome, we can create a passwordless user that can provide his password upon # the first login. So we can create the second user in this way to test this feature # later.