mirror of
https://github.com/espressif/openthread.git
synced 2026-09-05 08:40:06 +00:00
[expect] refactor common functions (#5634)
* unify node creating and destroying * simplify switching between nodes
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
source "tests/scripts/expect/_common.exp"
|
||||
|
||||
set spawn_id [spawn_node 1]
|
||||
spawn_node 1
|
||||
|
||||
send "ifconfig up\n"
|
||||
expect "Done"
|
||||
@@ -65,4 +65,4 @@ send "panid\n"
|
||||
expect "0xffff"
|
||||
expect "Done"
|
||||
|
||||
dispose
|
||||
dispose_all
|
||||
|
||||
Reference in New Issue
Block a user