mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 02:38:31 +00:00
Fix desktop_terminal command check (thanks defolos)
This check wasn't working, the test passed whatever wait_serial found. This version suggested by defolos works, I checked. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
33c290d15a
commit
bd7d3cd663
@ -20,7 +20,7 @@ sub run {
|
||||
# we're reinventing assert_script_run instead of using it so
|
||||
# we can type safely
|
||||
type_very_safely "ls && echo 'ls OK' > /dev/ttyS0\n";
|
||||
wait_serial "ls OK" || die "terminal command failed";
|
||||
die "terminal command failed" unless defined wait_serial "ls OK";
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
|
Loading…
Reference in New Issue
Block a user