Use $serialdev in desktop_terminal.pm not ttyS0
$serialdev is set in os-autoinst/testapi.pm required at least for ppc64le. Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
a038423920
commit
cc9be973cf
@ -19,7 +19,7 @@ sub run {
|
|||||||
# if we can run something successfully, we're at a console;
|
# if we can run something successfully, we're at a console;
|
||||||
# we're reinventing assert_script_run instead of using it so
|
# we're reinventing assert_script_run instead of using it so
|
||||||
# we can type safely
|
# we can type safely
|
||||||
type_very_safely "ls && echo 'ls OK' > /dev/ttyS0\n";
|
type_very_safely "ls && echo 'ls OK' > /dev/${serialdev}\n";
|
||||||
die "terminal command failed" unless defined wait_serial "ls OK";
|
die "terminal command failed" unless defined wait_serial "ls OK";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user