Update the TestBuild with new format

Upstream-commit: 15ea5a479a78d1011cda9bd55fd442d810234eb6
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-05-01 14:37:26 -07:00
parent ba650a016c
commit ed2765aaab

View File

@ -7,12 +7,12 @@ import (
const Dockerfile = `
# VERSION 0.1
# DOCKER-VERSION 0.1.6
# DOCKER-VERSION 0.2
from docker-ut
run sh -c 'echo root:testpass > /tmp/passwd'
run mkdir -p /var/run/sshd
copy https://raw.github.com/dotcloud/docker/master/CHANGELOG.md /tmp/CHANGELOG.md
from docker-ut
run sh -c 'echo root:testpass > /tmp/passwd'
run mkdir -p /var/run/sshd
insert https://raw.github.com/dotcloud/docker/master/CHANGELOG.md /tmp/CHANGELOG.md
`
func TestBuild(t *testing.T) {