[travis] delete null OT_NCP_PATH in check-posix-app-pty (#4628)

This commit is contained in:
Jing Ma
2020-03-03 09:04:05 -08:00
committed by GitHub
parent 150aa9b6db
commit 6b8a77502d
+2 -2
View File
@@ -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.