mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-09 17:04:21 +00:00
7be16956d7
dnf4 and dnf5 both support the former, dnf5 does not support the latter. Signed-off-by: Adam Williamson <awilliam@redhat.com>
27 lines
751 B
Perl
27 lines
751 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# set up appropriate repositories
|
|
repo_setup();
|
|
# install X environment
|
|
assert_script_run "dnf -y group install 'base-x'", 300;
|
|
# install firefox, plus our basic default fonts to try and avoid
|
|
# random weird font selection happening
|
|
assert_script_run "dnf -y install firefox google-noto-sans-vf-fonts google-noto-sans-mono-vf-fonts google-noto-serif-vf-fonts", 180;
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
|
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
|
disable_firefox_studies;
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1, milestone => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|