mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
Allows using daemon/internal packages when creating dockerd Signed-off-by: Derek McGowan <derek@mcg.dev>
17 lines
284 B
Go
17 lines
284 B
Go
package command
|
|
|
|
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()
|
|
}
|