From d046f56e8826f597ddd1752b9289d93b9054fa9d Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Thu, 5 Mar 2015 14:42:52 -0800 Subject: [PATCH] integ-cli: skip case-sensitive dockerfile tests on windows The tests end up overwriting the `dockerfile` with `Dockerfile` since windows filesystems are case-insensitive. The following methods are skipped: - TestBuildRenamedDockerfile - TestBuildFromMixedcaseDockerfile Signed-off-by: Ahmet Alp Balkan --- integration-cli/docker_cli_build_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-cli/docker_cli_build_test.go b/integration-cli/docker_cli_build_test.go index ac1ac14775..a79ea590ac 100644 --- a/integration-cli/docker_cli_build_test.go +++ b/integration-cli/docker_cli_build_test.go @@ -4700,6 +4700,7 @@ func TestBuildRenamedDockerfile(t *testing.T) { } func TestBuildFromMixedcaseDockerfile(t *testing.T) { + testRequires(t, UnixCli) // Dockerfile overwrites dockerfile on windows defer deleteImages("test1") ctx, err := fakeContext(`FROM busybox @@ -4725,6 +4726,7 @@ func TestBuildFromMixedcaseDockerfile(t *testing.T) { } func TestBuildWithTwoDockerfiles(t *testing.T) { + testRequires(t, UnixCli) // Dockerfile overwrites dockerfile on windows defer deleteImages("test1") ctx, err := fakeContext(`FROM busybox