git: 7259e54556f2 - stable/13 - Revert "socket tests: Build fix"

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 24 Oct 2023 18:03:58 UTC
The branch stable/13 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=7259e54556f21f34dc6c161cb1bb9d8d42e49777

commit 7259e54556f21f34dc6c161cb1bb9d8d42e49777
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-10-24 18:03:23 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-10-24 18:03:27 +0000

    Revert "socket tests: Build fix"
    
    This reverts commit 1b07f630c11ccf899612a7d02777fe0855e3bb25.
    
    This test will require extra work to port to stable/13.
---
 tests/sys/kern/socket_msg_trunc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/sys/kern/socket_msg_trunc.c b/tests/sys/kern/socket_msg_trunc.c
index ff0499c4540d..279170158643 100644
--- a/tests/sys/kern/socket_msg_trunc.c
+++ b/tests/sys/kern/socket_msg_trunc.c
@@ -231,7 +231,7 @@ ATF_TC_BODY(recvmsg_trunc_ktrace_uio, tc)
 	nbytes = read(fd, &ktr, sizeof(ktr));
 	ATF_REQUIRE_MSG(nbytes >= 0, "read failed: %s", strerror(errno));
 	ATF_REQUIRE((size_t)nbytes == sizeof(ktr));
-	ATF_REQUIRE((ktr.ktr_type & ~KTR_TYPE) == KTR_GENIO);
+	ATF_REQUIRE_MSG((ktr.ktr_type & ~KTR_TYPE) == KTR_GENIO);
 
 	ATF_REQUIRE(close(fd) == 0);
 	ATF_REQUIRE(close(sd[0]) == 0);