Skip to content

Commit

Permalink
[tests] add a expect test for 'coaps disconnect'
Browse files Browse the repository at this point in the history
  • Loading branch information
lmnotran committed Aug 29, 2024
1 parent f9349c1 commit fe6ddeb
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 fe6ddeb

Please sign in to comment.