mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +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 load_spawn_id $spawn_id
|
||||||
set timeout 80
|
set timeout 80
|
||||||
expect {
|
expect {
|
||||||
"finished. total time:" { return true; }
|
{[fF]inished. [tT]otal time:} { return true; }
|
||||||
eof {
|
eof {
|
||||||
puts stderr "fastboot command process died unexpectedly";
|
puts stderr "Fastboot command process died unexpectedly"
|
||||||
return false;
|
return false
|
||||||
}
|
}
|
||||||
timeout {
|
timeout {
|
||||||
puts stderr "Loading timed out";
|
puts stderr "Loading timed out"
|
||||||
return false;
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user