[tests] add a expect test for coaps disconnect (#10655)

This commit is contained in:
Mason Tran
2024-09-03 11:08:08 -07:00
committed by GitHub
parent aed9cd1a30
commit 928074c538
+3
View File
@@ -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"