summaryrefslogtreecommitdiffstats
path: root/tests/test_echo_udp_sendmsg_recvmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_echo_udp_sendmsg_recvmsg.c')
-rw-r--r--tests/test_echo_udp_sendmsg_recvmsg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_echo_udp_sendmsg_recvmsg.c b/tests/test_echo_udp_sendmsg_recvmsg.c
index aa9caea..1a93bdf 100644
--- a/tests/test_echo_udp_sendmsg_recvmsg.c
+++ b/tests/test_echo_udp_sendmsg_recvmsg.c
@@ -38,7 +38,7 @@ static int teardown(void **state)
return 0;
}
-static void test_sendto_recvfrom_ipv4(void **state)
+static void test_sendmsg_recvmsg_ipv4(void **state)
{
struct torture_address addr = {
.sa_socklen = sizeof(struct sockaddr_in),
@@ -115,7 +115,7 @@ static void test_sendto_recvfrom_ipv4(void **state)
}
#ifdef HAVE_IPV6
-static void test_sendto_recvfrom_ipv6(void **state)
+static void test_sendmsg_recvmsg_ipv6(void **state)
{
struct torture_address addr = {
.sa_socklen = sizeof(struct sockaddr_in6),
@@ -195,11 +195,11 @@ int main(void) {
int rc;
const struct CMUnitTest sendmsg_tests[] = {
- cmocka_unit_test_setup_teardown(test_sendto_recvfrom_ipv4,
+ cmocka_unit_test_setup_teardown(test_sendmsg_recvmsg_ipv4,
setup_echo_srv_udp_ipv4,
teardown),
#ifdef HAVE_IPV6
- cmocka_unit_test_setup_teardown(test_sendto_recvfrom_ipv6,
+ cmocka_unit_test_setup_teardown(test_sendmsg_recvmsg_ipv6,
setup_echo_srv_udp_ipv6,
teardown),
#endif