Sfoglia il codice sorgente

Update the TestBuild with new format

Guillaume J. Charmes 12 anni fa
parent
commit
15ea5a479a
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 5 5
      builder_test.go

+ 5 - 5
builder_test.go

@@ -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) {