github.com/rumpl/bof@v23.0.0-rc.2+incompatible/integration/plugin/volumes/main_test.go (about) 1 package volumes // import "github.com/docker/docker/integration/plugin/volumes" 2 3 import ( 4 "fmt" 5 "os" 6 "testing" 7 8 "github.com/docker/docker/testutil/environment" 9 ) 10 11 var ( 12 testEnv *environment.Execution 13 ) 14 15 func TestMain(m *testing.M) { 16 var err error 17 testEnv, err = environment.New() 18 if err != nil { 19 fmt.Println(err) 20 os.Exit(1) 21 } 22 err = environment.EnsureFrozenImagesLinux(testEnv) 23 if err != nil { 24 fmt.Println(err) 25 os.Exit(1) 26 } 27 testEnv.Print() 28 os.Exit(m.Run()) 29 }