From 600dd39a648db26528984ea6478bc1e408a62e03 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 27 Oct 2016 17:07:20 -0700 Subject: [PATCH] install tar in installedtest post_fail_hook It's not always in minimal installs. This is a simple change and needed to make the post-fail hook work for minimal installs, so pushing without review. --- lib/installedtest.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/installedtest.pm b/lib/installedtest.pm index 30a08032..852389e0 100644 --- a/lib/installedtest.pm +++ b/lib/installedtest.pm @@ -24,6 +24,9 @@ sub post_fail_hook { $self->root_console(tty=>6); + # We can't rely on tar being in minimal installs + assert_script_run "dnf -y install tar", 180; + # If /var/tmp/abrt directory isn't empty (ls doesn't return empty string) my $vartmp = script_output "ls /var/tmp/abrt"; if ($vartmp ne '') {