From 71cdbc6f78821b56fee1ec282a4a0d31026f68f0 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Sat, 2 Mar 2024 16:05:30 +0300 Subject: [PATCH] lang/go{-121,-devel}: Fix tests running under nobody user and mark TESTING_UNSAFE. --- lang/go-devel/Makefile | 1 + lang/go121/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile index 0882e9f806a04..496f3dbab9791 100644 --- a/lang/go-devel/Makefile +++ b/lang/go-devel/Makefile @@ -124,6 +124,7 @@ do-install: do-test: cd ${WRKSRC}/src && ${SETENV} \ + ${TEST_ENV} \ GOROOT=${WRKSRC} \ PATH=${WRKSRC}/bin:${PATH} \ GOOS=${OPSYS:tl} \ diff --git a/lang/go121/Makefile b/lang/go121/Makefile index 71bdd142905f1..fca4a002c2fe2 100644 --- a/lang/go121/Makefile +++ b/lang/go121/Makefile @@ -21,5 +21,6 @@ DISTINFO_FILE= ${.CURDIR}/distinfo SHEBANG_FILES= misc/wasm/go_js_wasm_exec \ src/net/http/cgi/testdata/test.cgi BASH= ${SH} +TESTING_UNSAFE= MemorySanitizer: use-of-uninitialized-value (/tmp/TestMSAN747758340/msan8+0x11efcf) in msanGoLoop .include "${MASTERDIR}/Makefile"