mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-14 17:21:26 +00:00
37e2f134f1
eg failing jobs: https://openqa.stg.fedoraproject.org/tests/499908#step/_boot_to_anaconda/7 https://openqa.stg.fedoraproject.org/tests/519326#step/_post_network_static/4 Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
32 lines
1.0 KiB
Perl
32 lines
1.0 KiB
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
bypass_1691487;
|
|
# set up appropriate repositories
|
|
repo_setup();
|
|
# use --enablerepo=fedora for Modular compose testing (we need to
|
|
# create and use a non-Modular repo to get some packages which
|
|
# aren't in Modular Server composes)
|
|
my $extraparams = '';
|
|
$extraparams = '--enablerepo=fedora' if (get_var("MODULAR"));
|
|
# install a desktop and firefox so we can actually try it
|
|
assert_script_run "dnf ${extraparams} -y groupinstall 'base-x'", 300;
|
|
# FIXME: this should probably be in base-x...X seems to fail without
|
|
assert_script_run "dnf ${extraparams} -y install libglvnd-egl", 160;
|
|
# try to avoid random weird font selection happening
|
|
assert_script_run "dnf ${extraparams} -y install dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts", 160;
|
|
assert_script_run "dnf ${extraparams} -y install firefox", 160;
|
|
}
|
|
|
|
sub test_flags {
|
|
return { fatal => 1, milestone => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|