Browse code

Fix sleep command in tests Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@docker.com> (github: crosbymichael)

Michael Crosby authored on 2014/06/27 09:09:41
Showing 1 changed files
... ...
@@ -66,7 +66,7 @@ func TestDiffEnsureDockerinitFilesAreIgnored(t *testing.T) {
66 66
 }
67 67
 
68 68
 func TestDiffEnsureOnlyKmsgAndPtmx(t *testing.T) {
69
-	runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sleep 0")
69
+	runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sleep", "0")
70 70
 	cid, _, err := runCommandWithOutput(runCmd)
71 71
 	errorOut(err, t, fmt.Sprintf("%s", err))
72 72
 	cleanCID := stripTrailingCharacters(cid)