2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

assert result is ISC_R_SUCCESS

This commit is contained in:
Mark Andrews
2019-02-13 15:53:41 +11:00
parent ee6a378fde
commit 76a1c1531a
2 changed files with 2 additions and 0 deletions

View File

@@ -817,6 +817,7 @@ udp_trunc_test(void **state) {
completion_init(&completion);
recv_trunc = false;
result = isc_socket_recv(s2, &r, 1, task, event_done, &completion);
assert_int_equal(result, ISC_R_SUCCESS);
waitfor(&completion);
assert_true(completion.done);
assert_int_equal(completion.result, ISC_R_SUCCESS);