From a78888579b9662fa6f0222f22003666750e7f92c Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Wed, 28 Apr 2021 23:43:40 +0800 Subject: [PATCH] [test] wait factoryreset in check-posix-pty (#6529) --- script/check-posix-pty | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/check-posix-pty b/script/check-posix-pty index 6111b5ace..87ba93d3f 100755 --- a/script/check-posix-pty +++ b/script/check-posix-pty @@ -127,6 +127,8 @@ do_check() # sleep a while for daemon ready sleep 2 sudo "${OT_CLI_CMD}" factoryreset + # sleep a while for daemon ready + sleep 2 else OT_CLI="$PWD/build/posix/src/posix/ot-cli" sudo "${OT_CLI}" -I "${VALID_NETIF_NAME}" -n "${RADIO_URL}"