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:
parent
92e632c84e
commit
d046f56e88
1 changed files with 2 additions and 0 deletions
|
@ -4700,6 +4700,7 @@ func TestBuildRenamedDockerfile(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBuildFromMixedcaseDockerfile(t *testing.T) {
|
func TestBuildFromMixedcaseDockerfile(t *testing.T) {
|
||||||
|
testRequires(t, UnixCli) // Dockerfile overwrites dockerfile on windows
|
||||||
defer deleteImages("test1")
|
defer deleteImages("test1")
|
||||||
|
|
||||||
ctx, err := fakeContext(`FROM busybox
|
ctx, err := fakeContext(`FROM busybox
|
||||||
|
@ -4725,6 +4726,7 @@ func TestBuildFromMixedcaseDockerfile(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestBuildWithTwoDockerfiles(t *testing.T) {
|
func TestBuildWithTwoDockerfiles(t *testing.T) {
|
||||||
|
testRequires(t, UnixCli) // Dockerfile overwrites dockerfile on windows
|
||||||
defer deleteImages("test1")
|
defer deleteImages("test1")
|
||||||
|
|
||||||
ctx, err := fakeContext(`FROM busybox
|
ctx, err := fakeContext(`FROM busybox
|
||||||
|
|
Loading…
Reference in a new issue