From 95b227b97a3fda76eaaaeb744dd039139d841926 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 12 Dec 2018 11:57:53 -0800 Subject: [PATCH] Sigh, fix a syntax error in previous commit Signed-off-by: Adam Williamson --- lib/anacondatest.pm | 2 +- lib/installedtest.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/anacondatest.pm b/lib/anacondatest.pm index 1e2b2ae6..ed810836 100644 --- a/lib/anacondatest.pm +++ b/lib/anacondatest.pm @@ -27,7 +27,7 @@ sub post_fail_hook { $self->root_console(); # if we don't have tar or a network connection, we'll try and at # least send out *some* kinda info via the serial line - my $hostip = $testapi::host_ip(); + my $hostip = testapi::host_ip(); if (script_run "ping -c 2 ${hostip}") { script_run 'printf "\n** X.LOG **\n" > /dev/ttyS0'; script_run "cat /tmp/X.log > /dev/ttyS0"; diff --git a/lib/installedtest.pm b/lib/installedtest.pm index c7cf862c..13791e22 100644 --- a/lib/installedtest.pm +++ b/lib/installedtest.pm @@ -40,7 +40,7 @@ sub post_fail_hook { # if we don't have tar or a network connection, we'll try and at # least send out *some* kinda info via the serial line - my $hostip = $testapi::host_ip(); + my $hostip = testapi::host_ip(); if (script_run "rpm -q tar" || script_run "ping -c 2 ${hostip}") { script_run 'printf "\n** IP ADDR **\n" > /dev/ttyS0'; script_run "ip addr > /dev/ttyS0 2>&1";