From 6b8a77502dc4225d70681e86ccb9918e17d1d02f Mon Sep 17 00:00:00 2001 From: Jing Ma Date: Wed, 4 Mar 2020 01:04:05 +0800 Subject: [PATCH] [travis] delete null OT_NCP_PATH in check-posix-app-pty (#4628) --- .travis/check-posix-app-pty | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.