github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/e2e/container/main_test.go (about) 1 package container 2 3 import ( 4 "fmt" 5 "os" 6 "testing" 7 8 "github.com/docker/cli/internal/test/environment" 9 ) 10 11 func TestMain(m *testing.M) { 12 if err := environment.Setup(); err != nil { 13 fmt.Println(err.Error()) 14 os.Exit(3) 15 } 16 os.Exit(m.Run()) 17 }