Pass on Silverblue
Some checks failed
CI via Tox and perl / perl (pull_request) Failing after 4m38s
CI via Tox and perl / tox (pull_request) Successful in 2m5s
CI via Tox and perl / checkwiki (pull_request) Failing after 48s

This commit is contained in:
Lukáš Růžička 2026-04-28 15:33:57 +02:00
commit 103bc7451a

View file

@ -45,7 +45,9 @@ sub run {
my $user = get_var("TESTLOGIN", "rhood");
my $password = get_var("TESTPASSWORD", "nottingham");
# By default, we have not switched languages.
my $locale_check = 0;
# However, if we did, we want to know.
$locale_check = 1 if (get_var('LANGSELECT'));
# Switch to the serial console. To run commands successfully,
@ -76,7 +78,13 @@ sub run {
die("The expected password: $password is not valid for user $user.") if (assert_password($user, $password) != 0);
# Check that third party repositories have been enabled.
assert_script_run(q{fedora-third-party query | grep enabled}, timeout => 60);
# On Silverblue, there was no screen to set it, so we expect this to be disabled.
if (get_var('CANNED')) {
assert_script_run(q{fedora-third-party query | grep disabled}, timeout => 60);
}
else {
assert_script_run(q{fedora-third-party query | grep enabled}, timeout => 60);
}
# Verify that at least one third-party repository is configured (output is not empty)
assert_script_run(q{fedora-third-party list --csv --columns=name,type | grep -q .});
@ -106,7 +114,6 @@ sub run {
);
}
# Check that automatic reporting is enabled when not in Silverblue.
unless (get_var('CANNED')) {
assert_as_user_eq($user,