|
@@ -368,8 +368,7 @@ ONBUILD ENTRYPOINT ["echo"]`))
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildCacheAdd(c *check.C) {
|
|
func (s *DockerSuite) TestBuildCacheAdd(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, DaemonIsLinux, NotE2E) // Windows doesn't have httpserver image yet
|
|
|
|
|
|
+ testRequires(c, DaemonIsLinux) // Windows doesn't have httpserver image yet
|
|
name := "testbuildtwoimageswithadd"
|
|
name := "testbuildtwoimageswithadd"
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
"robots.txt": "hello",
|
|
"robots.txt": "hello",
|
|
@@ -389,9 +388,6 @@ func (s *DockerSuite) TestBuildCacheAdd(c *check.C) {
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildLastModified(c *check.C) {
|
|
func (s *DockerSuite) TestBuildLastModified(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
// Temporary fix for #30890. TODO @jhowardmsft figure out what
|
|
// Temporary fix for #30890. TODO @jhowardmsft figure out what
|
|
// has changed in the master busybox image.
|
|
// has changed in the master busybox image.
|
|
testRequires(c, DaemonIsLinux)
|
|
testRequires(c, DaemonIsLinux)
|
|
@@ -521,8 +517,7 @@ RUN [ $(ls -l /exists/exists_file | awk '{print $3":"$4}') = 'dockerio:dockerio'
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildCopyAddMultipleFiles(c *check.C) {
|
|
func (s *DockerSuite) TestBuildCopyAddMultipleFiles(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, DaemonIsLinux, NotE2E) // Linux specific test
|
|
|
|
|
|
+ testRequires(c, DaemonIsLinux) // Linux specific test
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
"robots.txt": "hello",
|
|
"robots.txt": "hello",
|
|
}))
|
|
}))
|
|
@@ -637,9 +632,6 @@ RUN find "test6" "C:/test dir/test_file6"`
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildCopyWildcard(c *check.C) {
|
|
func (s *DockerSuite) TestBuildCopyWildcard(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
name := "testcopywildcard"
|
|
name := "testcopywildcard"
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
"robots.txt": "hello",
|
|
"robots.txt": "hello",
|
|
@@ -1935,9 +1927,6 @@ func (s *DockerSuite) TestBuildAddCurrentDirWithoutCache(c *check.C) {
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildAddRemoteFileWithAndWithoutCache(c *check.C) {
|
|
func (s *DockerSuite) TestBuildAddRemoteFileWithAndWithoutCache(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
name := "testbuildaddremotefilewithcache"
|
|
name := "testbuildaddremotefilewithcache"
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
"baz": "hello",
|
|
"baz": "hello",
|
|
@@ -1963,9 +1952,6 @@ func (s *DockerSuite) TestBuildAddRemoteFileWithAndWithoutCache(c *check.C) {
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildAddRemoteFileMTime(c *check.C) {
|
|
func (s *DockerSuite) TestBuildAddRemoteFileMTime(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
name := "testbuildaddremotefilemtime"
|
|
name := "testbuildaddremotefilemtime"
|
|
name2 := name + "2"
|
|
name2 := name + "2"
|
|
name3 := name + "3"
|
|
name3 := name + "3"
|
|
@@ -2009,9 +1995,6 @@ func (s *DockerSuite) TestBuildAddRemoteFileMTime(c *check.C) {
|
|
|
|
|
|
// FIXME(vdemeester) this really seems to test the same thing as before (combined)
|
|
// FIXME(vdemeester) this really seems to test the same thing as before (combined)
|
|
func (s *DockerSuite) TestBuildAddLocalAndRemoteFilesWithAndWithoutCache(c *check.C) {
|
|
func (s *DockerSuite) TestBuildAddLocalAndRemoteFilesWithAndWithoutCache(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
name := "testbuildaddlocalandremotefilewithcache"
|
|
name := "testbuildaddlocalandremotefilewithcache"
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{
|
|
"baz": "hello",
|
|
"baz": "hello",
|
|
@@ -3112,9 +3095,6 @@ func (s *DockerSuite) TestBuildFromGitWithF(c *check.C) {
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildFromRemoteTarball(c *check.C) {
|
|
func (s *DockerSuite) TestBuildFromRemoteTarball(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
name := "testbuildfromremotetarball"
|
|
name := "testbuildfromremotetarball"
|
|
|
|
|
|
buffer := new(bytes.Buffer)
|
|
buffer := new(bytes.Buffer)
|
|
@@ -3781,9 +3761,6 @@ func (s *DockerSuite) TestBuildFromMixedcaseDockerfile(c *check.C) {
|
|
}
|
|
}
|
|
|
|
|
|
func (s *DockerSuite) TestBuildFromURLWithF(c *check.C) {
|
|
func (s *DockerSuite) TestBuildFromURLWithF(c *check.C) {
|
|
- // E2E: Requires built httpserver.
|
|
|
|
- testRequires(c, NotE2E)
|
|
|
|
-
|
|
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{"baz": `FROM busybox
|
|
server := fakestorage.New(c, "", fakecontext.WithFiles(map[string]string{"baz": `FROM busybox
|
|
RUN echo from baz
|
|
RUN echo from baz
|
|
COPY * /tmp/
|
|
COPY * /tmp/
|