aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/container_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/container_test.go')
-rw-r--r--container/container_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/container/container_test.go b/container/container_test.go
index 787720a8..ca00fe7a 100644
--- a/container/container_test.go
+++ b/container/container_test.go
@@ -37,9 +37,6 @@ import (
// Note: this package requires cgo, which is unavailable in the Go playground.
func Example() {
- // Must be called early if the current process starts containers.
- container.TryArgv0(nil)
-
// Configure the container.
z := container.New(context.Background(), nil)
z.Hostname = "hakurei-example"
@@ -876,8 +873,6 @@ var (
var helperCommands []func(c command.Command)
func TestMain(m *testing.M) {
- container.TryArgv0(nil)
-
if os.Getenv(envDoCheck) == "1" {
c := command.New(os.Stderr, log.Printf, "helper", func(args []string) error {
log.SetFlags(0)