diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-01-25 12:51:13 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-01-25 12:51:13 +0300 |
commit | 9525c4d5e4d94f3e6f21f128e0cf0245c5c0827b (patch) | |
tree | b57ac060ae2c59ab627403d728ab8be7c05cfb0d /tests/libs/zbxcommshigh | |
parent | 3ef2121328f2044619008319d8165e0f011c9845 (diff) |
....I..... [ZBXNEXT-3581] fixed return code assert
Diffstat (limited to 'tests/libs/zbxcommshigh')
-rw-r--r-- | tests/libs/zbxcommshigh/zbx_tcp_recv_ext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libs/zbxcommshigh/zbx_tcp_recv_ext.c b/tests/libs/zbxcommshigh/zbx_tcp_recv_ext.c index 3ba6a4b5373..4f5ef62c9dd 100644 --- a/tests/libs/zbxcommshigh/zbx_tcp_recv_ext.c +++ b/tests/libs/zbxcommshigh/zbx_tcp_recv_ext.c @@ -50,6 +50,8 @@ void zbx_mock_test_entry(void **state) return; } + zbx_mock_assert_result_eq("zbx_tcp_recv_ext() return code", SUCCEED, SUCCEED_OR_FAIL(received)); + zbx_mock_assert_uint64_eq("Received bytes", zbx_mock_get_parameter_uint64("out.bytes"), received); buffer = zbx_yaml_assemble_binary_sequence("fragments", received); |