From 8ae19cf01453171226ac9c84c44766d07721a1f0 Mon Sep 17 00:00:00 2001 From: Mason Tran Date: Thu, 29 Aug 2024 17:20:10 -0400 Subject: [PATCH] [tests] add a expect test for 'coaps disconnect' --- tests/scripts/expect/cli-coaps.exp | 3 +++ 1 file changed, 3 insertions(+) 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"