mirror of
https://github.com/espressif/openthread.git
synced 2026-07-27 14:27:47 +00:00
[test] add expect tests for dataset and networktime (#5145)
This commit is contained in:
@@ -146,4 +146,14 @@ expect "0:0:0:0::/64 s low"
|
||||
send "route remove ::/64\n"
|
||||
expect "Done"
|
||||
|
||||
send "networktime 20 200\n"
|
||||
expect "Done"
|
||||
send "networktime\n"
|
||||
expect -re {Network Time: \d+us \((unsynchronized|resync needed|synchronized)\)}
|
||||
expect "Time Sync Period: 20s"
|
||||
expect "XTAL Threshold: 200ppm"
|
||||
expect "Done"
|
||||
send "networktime something_invalid\n"
|
||||
expect "Error 7: InvalidArgs"
|
||||
|
||||
dispose_nodes
|
||||
|
||||
Reference in New Issue
Block a user