mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 10:23:09 +00:00
Sigh, fix a syntax error in previous commit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0f5281f389
commit
95b227b97a
@ -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";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user