mirror of
https://github.com/espressif/openthread.git
synced 2026-09-09 02:30:11 +00:00
[test] add expect tests for router, scan, and more (#5054)
- router - scan - parentpriority - pollperiod - prefix - preferrouterid - route
This commit is contained in:
@@ -104,3 +104,31 @@ expect "Done"
|
||||
send "joinerport\n"
|
||||
expect "10001"
|
||||
expect "Done"
|
||||
|
||||
send "parentpriority 1\n"
|
||||
expect "Done"
|
||||
send "parentpriority\n"
|
||||
expect "1"
|
||||
expect "Done"
|
||||
|
||||
send "pollperiod 100000\n"
|
||||
expect "Done"
|
||||
send "pollperiod\n"
|
||||
expect "100000"
|
||||
expect "Done"
|
||||
|
||||
send "prefix add ::/64 low pdcrosn\n"
|
||||
expect "Done"
|
||||
send "prefix\n"
|
||||
expect "0:0:0:0::/64 pdcrosn low"
|
||||
expect "Done"
|
||||
|
||||
send "preferrouterid 1\n"
|
||||
expect "Done"
|
||||
|
||||
send "route add ::/64 s low\n"
|
||||
expect "Done"
|
||||
send "route\n"
|
||||
expect "0:0:0:0::/64 s low"
|
||||
send "route remove ::/64\n"
|
||||
expect "Done"
|
||||
|
||||
Reference in New Issue
Block a user