Skip to content

Commit

Permalink
xfstests: ignore installation dependencies
Browse files Browse the repository at this point in the history
Ignore installation dependencies of xfstests on ppc64le on microos
  • Loading branch information
lansuse committed Dec 31, 2024
1 parent 1143184 commit db5add9
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion tests/xfstests/install.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use repo_tools 'add_qa_head_repo';
use version_utils qw(is_sle is_leap is_tumbleweed is_sle_micro is_transactional);
use File::Basename;
use transactional;
use Utils::Architectures 'is_ppc64le';

my $STATUS_LOG = '/opt/status.log';
my $VERSION_LOG = '/opt/version.log';
Expand Down Expand Up @@ -51,7 +52,21 @@ sub install_xfstests_from_repo {
script_run('id fsgqa2 &> /dev/null || useradd -d /home/fsgqa2 -k /etc/skel -ms /bin/bash -U fsgqa2');
script_run('getent group sys >/dev/null || groupadd -r sys');
script_run('id daemon &> /dev/null || useradd daemon -g sys');
trup_call('pkg install xfstests');
if (is_ppc64le) {
script_run_interactive(
"transactional-update -n pkg install xfstests",
[
{
prompt => qr/Choose from above solutions by number or cancel/m,
key => '2',
},
],
100
);
}
else {
trup_call('pkg install xfstests');
}
unless (is_sle_micro('>=6.0')) {
trup_call('--continue pkg install fio');
}
Expand Down

0 comments on commit db5add9

Please sign in to comment.