[github-actions] fix unstable issue of pty-macos (#6506)

This commit is contained in:
Yakun Xu
2021-04-23 12:50:24 +08:00
committed by GitHub
parent e8ec349ce0
commit b928f148f4
+2 -2
View File
@@ -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'