diff --git a/tests/scripts/expect/cli-coaps.exp b/tests/scripts/expect/cli-coaps.exp index 1b0c3db86e3a..d9f7433bdd2b 100755 --- a/tests/scripts/expect/cli-coaps.exp +++ b/tests/scripts/expect/cli-coaps.exp @@ -96,6 +96,9 @@ send "coaps start something_invalid\n" expect "Error 7: InvalidArgs" switch_node 2 +send "coaps disconnect\n" +expect_line "Done" +expect "coaps disconnected" send "coaps stop\n" expect_line "Done"