Skip to content

Commit

Permalink
[tests] add a expect test for coaps disconnect (#10655)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmnotran authored Sep 3, 2024
1 parent aed9cd1 commit 928074c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/scripts/expect/cli-coaps.exp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 928074c

Please sign in to comment.