mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-21 22:30:22 -04:00
18 lines
245 B
Go
18 lines
245 B
Go
package container
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/docker/cli/internal/test/environment"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
if err := environment.Setup(); err != nil {
|
|
fmt.Println(err.Error())
|
|
os.Exit(3)
|
|
}
|
|
os.Exit(m.Run())
|
|
}
|