Skip to content

Commit

Permalink
Merge pull request #142 from AlanMarshall/9.1_agm
Browse files Browse the repository at this point in the history
Fixes for server_cockpit, server_filesystem and release_identification in 9.1 & 8.7
  • Loading branch information
lumarel committed Jan 20, 2023
2 parents 20ef9e9 + 9969d27 commit 366217e
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 2 deletions.
16 changes: 16 additions & 0 deletions needles/cockpit/rocky-basic-cockpit_login-20230115.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"area": [
{
"height": 77,
"width": 232,
"type": "match",
"ypos": 221,
"xpos": 515
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_login"
]
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions needles/cockpit/rocky-cockpit_login-20230115.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"area": [
{
"ypos": 200,
"height": 77,
"type": "match",
"width": 232,
"xpos": 515
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_login"
]
}
Binary file added needles/cockpit/rocky-cockpit_login-20230115.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"area": [
{
"xpos": 328,
"ypos": 366,
"width": 59,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"cockpit_services_entry"
]
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions tests/_console_wait_login.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ sub run {
# Wait for the text login
boot_to_login_screen(timeout => $wait_time);

# switch to TTY3 for both, graphical and console tests
$self->root_console(tty=>3);

# do user login unless USER_LOGIN is set to string 'false'
unless (get_var("USER_LOGIN") eq "false") {
# this avoids us waiting 90 seconds for a # to show up
Expand Down
3 changes: 3 additions & 0 deletions tests/_setup_browser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use utils;

sub run {
my $self = shift;
# switch to TTY3 for both, graphical and console tests
$self->root_console(tty=>3);

# set up appropriate repositories
repo_setup();
# use --enablerepo=fedora for Modular compose testing (we need to
Expand Down
4 changes: 2 additions & 2 deletions tests/os_release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sub run {
my $ver_major = substr($version_id, 0, index($version_id, q/./));
my $ver_minor = substr($version_id, index($version_id, q/./), length($version_id));
my $target = lc($ver_major);
if ( $ver_major = '9' ) {
if ( $ver_major == '9' || '8' ) {
$target = lc($version_id);
}

Expand Down Expand Up @@ -82,7 +82,7 @@ sub run {

# Test for Rocky Support Product
$strip = strip_marks($content{'ROCKY_SUPPORT_PRODUCT'});
if ( $ver_major = '9' ) {
if ( $ver_major == '9' || '8' ) {
$fullname = qq/$fullname $ver_major/;
$fullname =~ s/ /-/g;
}
Expand Down
3 changes: 3 additions & 0 deletions tests/server_filesystem_default.pm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use utils;

sub run {
my $self = shift;
# switch to TTY3 for both, graphical and console tests
$self->root_console(tty=>3);

# check / is xfs, as it should be on server
assert_script_run 'findmnt -M / -o FSTYPE | grep xfs';
}
Expand Down

0 comments on commit 366217e

Please sign in to comment.