diff --git a/test/drivers/test_suites/syscall_exit_suite/sendmsg_x.cpp b/test/drivers/test_suites/syscall_exit_suite/sendmsg_x.cpp index a4c7808ef02..027e20cbf8b 100644 --- a/test/drivers/test_suites/syscall_exit_suite/sendmsg_x.cpp +++ b/test/drivers/test_suites/syscall_exit_suite/sendmsg_x.cpp @@ -165,8 +165,7 @@ TEST(SyscallExit, sendmsgX_fail) iov[0].iov_base = sent_data_1; iov[0].iov_len = sizeof(sent_data_1); send_msg.msg_iov = iov; - /* here we pass a wrong `iovlen` to check the behavior */ - send_msg.msg_iovlen = 3; + send_msg.msg_iovlen = 1; uint32_t sendmsg_flags = 0; assert_syscall_state(SYSCALL_FAILURE, "sendmsg", syscall(__NR_sendmsg, mock_fd, &send_msg, sendmsg_flags)); diff --git a/test/drivers/test_suites/syscall_exit_suite/socketcall_x.cpp b/test/drivers/test_suites/syscall_exit_suite/socketcall_x.cpp index c0ee7bb4ea0..a98474c3102 100644 --- a/test/drivers/test_suites/syscall_exit_suite/socketcall_x.cpp +++ b/test/drivers/test_suites/syscall_exit_suite/socketcall_x.cpp @@ -1767,8 +1767,7 @@ TEST(SyscallExit, socketcall_sendmsgX_fail) iov[0].iov_base = sent_data_1; iov[0].iov_len = sizeof(sent_data_1); send_msg.msg_iov = iov; - /* here we pass a wrong `iovlen` to check the behavior */ - send_msg.msg_iovlen = 3; + send_msg.msg_iovlen = 1; uint32_t sendmsg_flags = 0; unsigned long args[3] = {0};