소스 검색

Merge pull request #6708 from crosbymichael/fix-bunk-test

Fix sleep command in tests
Victor Vieux 11 년 전
부모
커밋
f7eaeae43c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {
-	runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sleep 0")
+	runCmd := exec.Command(dockerBinary, "run", "-d", "busybox", "sleep", "0")
 	cid, _, err := runCommandWithOutput(runCmd)
 	errorOut(err, t, fmt.Sprintf("%s", err))
 	cleanCID := stripTrailingCharacters(cid)