diff --git a/.travis/check-posix-app-pty b/.travis/check-posix-app-pty index 656598e83..0e0847557 100755 --- a/.travis/check-posix-app-pty +++ b/.travis/check-posix-app-pty @@ -73,11 +73,11 @@ check() { $RADIO_NCP_PATH 1 > $RADIO_PTY < $RADIO_PTY & if [[ "${DAEMON}" = 1 ]]; then - sudo "$(pwd)/$(ls output/posix/*linux*/bin/ot-daemon)" ${OT_NCP_PATH} ${CORE_PTY} & + sudo "$(pwd)/$(ls output/posix/*linux*/bin/ot-daemon)" ${CORE_PTY} & sleep 1 OT_CLI_CMD="$(pwd)/$(ls output/posix/*linux*/bin/ot-ctl)" else - OT_CLI_CMD="$(pwd)/$(ls output/posix/*linux*/bin/ot-cli) ${OT_NCP_PATH} ${CORE_PTY}" + OT_CLI_CMD="$(pwd)/$(ls output/posix/*linux*/bin/ot-cli) ${CORE_PTY}" fi # Cover setting a valid network interface name.