|
@@ -66,7 +66,7 @@ func TestDiffEnsureDockerinitFilesAreIgnored(t *testing.T) {
|
|
}
|
|
}
|
|
|
|
|
|
func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
|
|
func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
|
|
- runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sleep 0")
|
|
|
|
|
|
+ runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sleep", "0")
|
|
cid, _, err := runCommandWithOutput(runCmd)
|
|
cid, _, err := runCommandWithOutput(runCmd)
|
|
errorOut(err, t, fmt.Sprintf("%s", err))
|
|
errorOut(err, t, fmt.Sprintf("%s", err))
|
|
cleanCID := stripTrailingCharacters(cid)
|
|
cleanCID := stripTrailingCharacters(cid)
|