mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-05-02 07:31:33 +00:00
This came up in blocker bug meeting discussion today. We really should check that all packages are signed after a default install. Signed-off-by: Adam Williamson <awilliam@redhat.com>
24 lines
506 B
Perl
24 lines
506 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
if (not(check_screen "root_console", 0)) {
|
|
$self->root_console(tty => 4);
|
|
}
|
|
assert_screen "root_console";
|
|
# for aarch64 non-english tests
|
|
console_loadkeys_us;
|
|
die("Unsigned package(s) found!") unless (script_run 'rpm -qa --queryformat "%{NAME} %{RSAHEADER:pgpsig}\n" | grep -v gpg-pubkey | grep "(none)"');
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|