[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:
Moandor
2020-12-22 08:54:29 -08:00
committed by GitHub
parent a3faaa2043
commit 27609159d9
+1 -1
View File
@@ -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"