mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-10 19:05:43 +00:00
Update the test to enable gsettings.
This commit is contained in:
parent
e0ac84a852
commit
b23af8307b
@ -23,6 +23,19 @@ sub run {
|
|||||||
# adjust repo files to use mirrorlist not metalink (to avoid
|
# adjust repo files to use mirrorlist not metalink (to avoid
|
||||||
# metalink checksum timing issue causing infra repo to be rejected)
|
# metalink checksum timing issue causing infra repo to be rejected)
|
||||||
repos_mirrorlist;
|
repos_mirrorlist;
|
||||||
|
# If this should be a GUI upgrade test, we need to set up Gnome to accept prerelease.
|
||||||
|
# Let's do it here and we will save one system restart later.
|
||||||
|
if (get_var("GUI_UPGRADE")) {
|
||||||
|
# Get the login, or select test.
|
||||||
|
my $login = get_var("USER_LOGIN") // "test";
|
||||||
|
# Switch to the test user
|
||||||
|
type_string("su $login\n";)
|
||||||
|
# Use gsettings to enable showing the prerelease
|
||||||
|
script_run("gsettings set org.gnome.software show-upgrade-prerelease true");
|
||||||
|
# Return to the root console.
|
||||||
|
type_string("exit\n");
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user