mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 03:07:47 +00:00
[expect] fix CLI router tests (#5996)
The next hop here is not deterministic. This changes it to expect any 4-digit hex.
This commit is contained in:
@@ -62,7 +62,7 @@ wait_for "router list" $router_id
|
||||
send "router $router_id\n"
|
||||
expect "Router ID: $router_id"
|
||||
expect "Rloc: $rloc"
|
||||
expect "Next Hop: fc00"
|
||||
expect -re {Next Hop: [0-9a-f]{4}}
|
||||
expect -re {Link: [01]}
|
||||
expect "Done"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user