Pass on Silverblue
This commit is contained in:
parent
9b7f027b1c
commit
103bc7451a
1 changed files with 9 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue