From 9251ac21fa21dce0ae08f3d76ff52b29d2981bd2 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 29 Mar 2023 14:29:52 -0700 Subject: [PATCH] Disable audit messages on ostree rebase tests on aarch64 Otherwise they tend to get into the output of the status command and mess up the test. Signed-off-by: Adam Williamson --- tests/rpmostree_rebase.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/rpmostree_rebase.pm b/tests/rpmostree_rebase.pm index 46944fe2..d3242a9e 100644 --- a/tests/rpmostree_rebase.pm +++ b/tests/rpmostree_rebase.pm @@ -7,6 +7,13 @@ sub run { my $self = shift; $self->root_console(tty => 3); + if (get_var("ARCH") eq "aarch64") { + # this should stop audit messages screwing things up + assert_script_run "rpm-ostree kargs --append=audit=0"; + script_run "systemctl reboot", 0; + boot_to_login_screen; + $self->root_console(tty => 3); + } # list available branches my $subv = lc(get_var("SUBVARIANT"));