1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

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.
This commit is contained in:
Adam Williamson 2016-10-27 17:07:20 -07:00
parent 7b31b8263e
commit 600dd39a64

View File

@ -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 '') {