github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/e2e/system/main_test.go (about) 1 package system 2 3 import ( 4 "fmt" 5 "os" 6 "testing" 7 8 "github.com/khulnasoft/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 }