mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[github-actions] fix unstable issue of pty-macos (#6506)
This commit is contained in:
@@ -117,8 +117,8 @@ do_check()
|
||||
RADIO_URL="spinel+hdlc+uart://${CORE_PTY}?region=US&max-power-table=11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26"
|
||||
|
||||
if [[ ${OT_DAEMON} == 'on' ]]; then
|
||||
sudo "$PWD/build/posix/src/posix/ot-daemon" -I "${VALID_NETIF_NAME}" "${RADIO_URL}" &
|
||||
sleep 1
|
||||
sudo "$PWD/build/posix/src/posix/ot-daemon" -d7 -v -I "${VALID_NETIF_NAME}" "${RADIO_URL}" &
|
||||
sleep 3
|
||||
OT_CLI_CMD="$PWD/build/posix/src/posix/ot-ctl"
|
||||
sudo "${OT_CLI_CMD}" panid 0xface | grep 'Done' || die 'failed to set panid with ot-ctl'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user