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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue