f5ae1accb6
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: eb025800bd
Component: cli
18 lines
241 B
Go
18 lines
241 B
Go
package trust
|
|
|
|
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())
|
|
}
|