internal/pkg/testdata: check network

This validates hostNet state.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-01-06 21:32:10 +09:00
parent 156096ac98
commit 53d80f4b66
2 changed files with 16 additions and 1 deletions

View File

@@ -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"