aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/exec_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-06 21:32:10 +0900
committerOphestra <cat@gensokyo.uk>2026-01-06 21:32:10 +0900
commit53d80f4b66848b046c4852e502779796e260463d (patch)
tree604cd6ca0baacdaea4ae8e44ad9318568b272c64 /internal/pkg/exec_test.go
parent156096ac987f5ec8be8dbf65332c4d61e675f3cf (diff)
internal/pkg/testdata: check network
This validates hostNet state. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/exec_test.go')
-rw-r--r--internal/pkg/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/exec_test.go b/internal/pkg/exec_test.go
index 1b2f84a8..5a14f786 100644
--- a/internal/pkg/exec_test.go
+++ b/internal/pkg/exec_test.go
@@ -1,6 +1,6 @@
package pkg_test
-//go:generate go build -tags testtool -ldflags "-extldflags='-static'" -o testdata/testtool ./testdata
+//go:generate env CGO_ENABLED=0 go build -tags testtool -o testdata/testtool ./testdata
import (
_ "embed"