[test] add expect tests for coap and coaps (#5172)

Also adds command coaps set to make it consistent with coap set.
This commit is contained in:
Moandor
2020-07-02 15:40:18 -07:00
committed by GitHub
parent ce9040950e
commit fbacefe85c
8 changed files with 281 additions and 10 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ dispose
setup_nodes
set spawn_id $spawn_2
send "ipaddr\n"
send "ipaddr mleid\n"
expect "ipaddr mleid"
expect -re {(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4})}
set addr $expect_out(1,string)
expect "Done"