aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-10 20:35:59 +0900
committerOphestra <cat@gensokyo.uk>2025-11-10 20:35:59 +0900
commit2f74adc8bdeda2499be0a8b2711f68c342695bf2 (patch)
tree4a4b4f0899e0d56b3ca5c228298f978bc1f984bb /container/container_test.go
parentd7e0104ae4da25f455630aae044adf165201c9b5 (diff)
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 <cat@gensokyo.uk>
Diffstat (limited to 'container/container_test.go')
-rw-r--r--container/container_test.go1
1 files changed, 1 insertions, 0 deletions
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)