2018-03-23 16:10:51 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
|
|
|
# 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
|
2022-06-01 16:00:39 +00:00
|
|
|
assert_script_run "dnf ${extraparams} -y install libglvnd-egl", 180;
|
2018-03-23 16:10:51 +00:00
|
|
|
# try to avoid random weird font selection happening
|
2022-06-01 16:00:39 +00:00
|
|
|
assert_script_run "dnf ${extraparams} -y install dejavu-sans-fonts dejavu-sans-mono-fonts dejavu-serif-fonts", 180;
|
2021-01-27 02:19:48 +00:00
|
|
|
# since firefox-85.0-2, firefox doesn't seem to run without this
|
2022-06-01 16:00:39 +00:00
|
|
|
assert_script_run "dnf ${extraparams} -y install dbus-glib", 180;
|
|
|
|
assert_script_run "dnf ${extraparams} -y install firefox", 180;
|
2018-03-23 16:10:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
return { fatal => 1, milestone => 1 };
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|