From 2f74adc8bdeda2499be0a8b2711f68c342695bf2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 10 Nov 2025 20:35:59 +0900 Subject: container/init: close initial process files on termination This closes them during the adopt wait delay. This also keeps them alive. Signed-off-by: Ophestra --- container/container_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'container/container_test.go') diff --git a/container/container_test.go b/container/container_test.go index b77ce5f6..5aaa8763 100644 --- a/container/container_test.go +++ b/container/container_test.go @@ -722,6 +722,7 @@ func TestMain(m *testing.M) { func helperNewContainerLibPaths(ctx context.Context, libPaths *[]*check.Absolute, args ...string) (c *container.Container) { msg := message.New(nil) + msg.SwapVerbose(testing.Verbose()) c = container.NewCommand(ctx, msg, absHelperInnerPath, "helper", args...) c.Env = append(c.Env, envDoCheck+"=1") c.Bind(check.MustAbs(os.Args[0]), absHelperInnerPath, 0) -- cgit v1.3.1