github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/e2e/context/main_test.go (about)

     1  package context
     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  }