Pārlūkot izejas kodu

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

Michael Crosby 11 gadi atpakaļ
vecāks
revīzija
012091a28f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      integration-cli/docker_cli_diff_test.go

+ 1 - 1
integration-cli/docker_cli_diff_test.go

@@ -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)