Compare commits
5 Commits
d9b7d203de
...
29d1243d39
Author | SHA1 | Date |
---|---|---|
Adam Williamson | 29d1243d39 | |
Lukas Ruzicka | 5608dee866 | |
Adam Williamson | a8f547f5ef | |
Adam Williamson | 86c975e49a | |
Adam Williamson | 7465985c50 |
|
@ -1476,6 +1476,8 @@ sub check_prerelease {
|
||||||
$prerelease = 1 if ($build =~ /\.n\.\d+/ && !get_var("LIVE"));
|
$prerelease = 1 if ($build =~ /\.n\.\d+/ && !get_var("LIVE"));
|
||||||
# if it's a respin compose we *MUST NOT* see tags
|
# if it's a respin compose we *MUST NOT* see tags
|
||||||
$prerelease = 0 if ($build =~ /Respin/);
|
$prerelease = 0 if ($build =~ /Respin/);
|
||||||
|
# bail if we've decided we don't care
|
||||||
|
return if ($prerelease > 1);
|
||||||
# we *could* go to a console and parse fedora-release-common
|
# we *could* go to a console and parse fedora-release-common
|
||||||
# to decide if a nightly live image should have tags or not, but
|
# to decide if a nightly live image should have tags or not, but
|
||||||
# it seems absurd as we're almost reinventing the code that
|
# it seems absurd as we're almost reinventing the code that
|
||||||
|
|
|
@ -92,8 +92,11 @@ sub run {
|
||||||
# root user now, for subsequent tests to work
|
# root user now, for subsequent tests to work
|
||||||
select_console "tty3-console";
|
select_console "tty3-console";
|
||||||
console_login(user => get_var("USER_LOGIN", "test"), password => get_var("USER_PASSWORD", "weakpassword"));
|
console_login(user => get_var("USER_LOGIN", "test"), password => get_var("USER_PASSWORD", "weakpassword"));
|
||||||
|
wait_still_screen 3;
|
||||||
type_string "sudo su\n";
|
type_string "sudo su\n";
|
||||||
|
wait_still_screen 3;
|
||||||
type_string "$password\n";
|
type_string "$password\n";
|
||||||
|
wait_still_screen 3;
|
||||||
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
|
my $root_password = get_var("ROOT_PASSWORD") || "weakpassword";
|
||||||
assert_script_run "echo 'root:$root_password' | chpasswd";
|
assert_script_run "echo 'root:$root_password' | chpasswd";
|
||||||
desktop_vt;
|
desktop_vt;
|
||||||
|
|
|
@ -28,7 +28,7 @@ sub run {
|
||||||
# to ensure we have the fix for
|
# to ensure we have the fix for
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2514
|
# https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2514
|
||||||
# drop this when the update is stable
|
# drop this when the update is stable
|
||||||
if ($release eq "40") {
|
if ($curr eq "40") {
|
||||||
assert_script_run("dnf -y --enablerepo=updates-testing update gnome-software", 180);
|
assert_script_run("dnf -y --enablerepo=updates-testing update gnome-software", 180);
|
||||||
}
|
}
|
||||||
# Leave the CLI and come back to the login screen.
|
# Leave the CLI and come back to the login screen.
|
||||||
|
|
Loading…
Reference in New Issue