Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 14:28:18 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 21a9924086c7 - stable/14 - socket tests: Build fix
Message-ID:  <202310241428.39OESInw072986@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=21a9924086c7884f4545b64a56180ef690047973

commit 21a9924086c7884f4545b64a56180ef690047973
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-10-17 14:21:32 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-10-24 14:28:11 +0000

    socket tests: Build fix
    
    Fixes:  d8735eb7acc0 ("socket tests: Add a regression test for ktrace+recv(MSG_TRUNC)")
    Reported by:    Jenkins
    
    (cherry picked from commit 4bd1e19684945aa1fd3397b58613f5210fda9091)
---
 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 279170158643..ff0499c4540d 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_MSG((ktr.ktr_type & ~KTR_TYPE) == KTR_GENIO);
+	ATF_REQUIRE((ktr.ktr_type & ~KTR_TYPE) == KTR_GENIO);
 
 	ATF_REQUIRE(close(fd) == 0);
 	ATF_REQUIRE(close(sd[0]) == 0);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310241428.39OESInw072986>