Rebased changes buildfile_test

Upstream-commit: 40f1e4edbecc841bd02b3a63b303d522299562c0
Component: engine
This commit is contained in:
Michael Crosby
2013-07-10 07:03:07 -09:00
parent 8121ba998d
commit 72cf50da58

View File

@ -93,7 +93,7 @@ CMD Hello world
{
`
from docker-ut
from %s
VOLUME /test
CMD Hello world
`,
@ -133,14 +133,13 @@ func TestVolume(t *testing.T) {
srv := &Server{
runtime: runtime,
lock: &sync.Mutex{},
pullingPool: make(map[string]struct{}),
pushingPool: make(map[string]struct{}),
}
buildfile := NewBuildFile(srv, ioutil.Discard)
imgId, err := buildfile.Build(mkTestContext(`
from docker-ut
from %s
VOLUME /test
CMD Hello world
`, nil, t))