mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7100ace42b
Without creating a root there is no way for the engine to return an error from the new function. Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
11 lines
160 B
Go
11 lines
160 B
Go
package engine
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
var globalTestID string
|
|
|
|
func mkJob(t *testing.T, name string, args ...string) *Job {
|
|
return New().Job(name, args...)
|
|
}
|