1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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 <ahmetalpbalkan@gmail.com>
This commit is contained in:
Ahmet Alp Balkan 2015-03-05 14:42:52 -08:00
parent 92e632c84e
commit d046f56e88

View file

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