mirror of
https://github.com/espressif/openthread.git
synced 2026-10-01 21:37:39 +00:00
[test] include CLI tests in RCP mode (#5159)
This makes expect run all cli-*.exp and posix-*.exp tests in RCP mode. New scripts should use the function spawn_node in _common.exp to spawn new processes. This is compatible with both simulation mode and RCP mode.
This commit is contained in:
@@ -146,14 +146,4 @@ 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