mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
tool/run/load/fastboot: case-insensitive match
The success messages of different versions of the fastboot tool are printed in different upper/lower case. Tolerate both. The patch also removes a few superfluous semicolons.
This commit is contained in:
parent
14e3339ce6
commit
9e5e648073
@ -47,14 +47,14 @@ proc run_load { } {
|
||||
set load_spawn_id $spawn_id
|
||||
set timeout 80
|
||||
expect {
|
||||
"finished. total time:" { return true; }
|
||||
{[fF]inished. [tT]otal time:} { return true; }
|
||||
eof {
|
||||
puts stderr "fastboot command process died unexpectedly";
|
||||
return false;
|
||||
puts stderr "Fastboot command process died unexpectedly"
|
||||
return false
|
||||
}
|
||||
timeout {
|
||||
puts stderr "Loading timed out";
|
||||
return false;
|
||||
puts stderr "Loading timed out"
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user