[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:
Moandor
2020-06-30 08:40:46 -07:00
committed by GitHub
parent d65f8a3812
commit 5acad30791
17 changed files with 128 additions and 94 deletions
-10
View File
@@ -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