1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-11 22:03:08 +00:00
os-autoinst-distri-fedora/tests/unwanted_packages.pm
Adam Williamson c9609cf26d Drop bypass_1691487 function and usage (bug seems fixed)
Per https://bugzilla.redhat.com/show_bug.cgi?id=1691487#c14 it
seems like the bug here got fixed along the way and we probably
don't need this any more.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-05-06 09:02:52 -07:00

28 lines
486 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
sub run {
my $self = shift;
# switch to TTY3 for both, graphical and console tests
$self->root_console(tty=>3);
my @unwanteds;
my $subv = get_var("SUBVARIANT");
if ($subv eq "Workstation") {
@unwanteds = ("gtk2", "qt");
}
for my $unwanted (@unwanteds) {
assert_script_run "! rpm -q $unwanted";
}
}
sub test_flags {
return { fatal => 1 };
}
1;
# vim: set sw=4 et: