[test] fix failure of TestBuildLabelsOverride on Windows

TestBuildLabelsOverride was consistently failing due to "Windows does not support FROM scratch" error

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
Upstream-commit: bb17d1fabbd75d76edb8bf26e006ff0238ba8c00
Component: engine
This commit is contained in:
Akihiro Suda
2016-10-16 11:05:31 +00:00
parent d0bb362133
commit 2fac2c1b97
@@ -6636,7 +6636,7 @@ func (s *DockerSuite) TestBuildLabelsOverride(c *check.C) {
name = "scratchz"
expected = `{"bar":"$PATH"}`
_, err = buildImage(name,
`FROM scratch`,
`FROM `+minimalBaseImage(),
true, "--label", "bar=$PATH")
c.Assert(err, check.IsNil)