mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
17 lines
281 B
Go
17 lines
281 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/moby/sys/reexec"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
reexec.Register(testListenerNoAddrCmdPhase1, initListenerTestPhase1)
|
|
reexec.Register(testListenerNoAddrCmdPhase2, initListenerTestPhase2)
|
|
if reexec.Init() {
|
|
return
|
|
}
|
|
m.Run()
|
|
}
|