- test of socket destroy added
This commit is contained in:
parent
6ada7959f4
commit
d9b41b2478
1 changed files with 3 additions and 0 deletions
|
@ -61,4 +61,7 @@ void test_socket(tester_t *tester)
|
|||
tester->assert_false(tester, strcmp(test_string, pkt->data.ptr), "packet exchange");
|
||||
pkt->destroy(pkt);
|
||||
}
|
||||
|
||||
tester->assert_true(tester, (skt->destroy(skt) == SUCCESS), "socket destroy call check");
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue