mirror of
https://github.com/moby/moby.git
synced 2025-12-06 07:41:18 +03:00
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)
12 lines
160 B
Go
12 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...)
|
|
}
|