mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 03:37:46 +00:00
[posix] forkpty-arg value as a single argument (#5772)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
source "tests/scripts/expect/_common.exp"
|
||||
|
||||
spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-arg=--sleep-to-tx 1"
|
||||
spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-arg=--sleep-to-tx&forkpty-arg=1"
|
||||
set node_1 $spawn_id
|
||||
expect_after {
|
||||
timeout { exit 1 }
|
||||
@@ -75,7 +75,7 @@ expect -re {(\d+)}
|
||||
set channel $expect_out(1,string)
|
||||
expect "Done"
|
||||
|
||||
spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-arg=--sleep-to-tx 2"
|
||||
spawn $env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-arg=--sleep-to-tx&forkpty-arg=2"
|
||||
set node_2 $spawn_id
|
||||
expect_after {
|
||||
timeout { exit 1 }
|
||||
|
||||
Reference in New Issue
Block a user