diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-09 19:08:54 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-09 19:08:54 +0900 |
| commit | 02271583fb791987a9406c9ba282c75ff7a0e395 (patch) | |
| tree | 00b35900e1ff7bf4fa5f24e7322a9beb222098b9 /container/init_test.go | |
| parent | ef54b2cd086ee8a3186c9646711d70e226815973 (diff) | |
container: remove PATH lookup behaviour
This is way higher level than the container package and does not even work unless every path is mounted in the exact same location.
This behaviour causes nothing but confusion and problems,
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/init_test.go')
| -rw-r--r-- | container/init_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/init_test.go b/container/init_test.go index 6e99cc09..7716458c 100644 --- a/container/init_test.go +++ b/container/init_test.go @@ -47,7 +47,7 @@ func TestMain(m *testing.M) { } func helperNewContainerLibPaths(ctx context.Context, libPaths *[]string, args ...string) (c *container.Container) { - c = container.New(ctx, helperInnerPath, args...) + c = container.NewCommand(ctx, helperInnerPath, "helper", args...) c.Env = append(c.Env, envDoCheck+"=1") c.Bind(os.Args[0], helperInnerPath, 0) |
