mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 00:00:06 +00:00
[test] enhance parsing addresses (#6045)
Expect sometimes matches the pattern before a line is fully printed to TTY. As a result, the address returned may not be accurate. This commit fixes this issue by matching line breaks.
This commit is contained in:
@@ -41,6 +41,6 @@ for {set i 2} {$i <= $max_node} {incr i} {
|
||||
|
||||
set spawn_id $spawn_ids(1)
|
||||
send "child table\n"
|
||||
expect "Done"
|
||||
expect_line "Done"
|
||||
|
||||
dispose_all
|
||||
|
||||
Reference in New Issue
Block a user