mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
* Builder: added a regression test for #895
This commit is contained in:
parent
061f8d12e0
commit
f50e40008f
1 changed files with 10 additions and 0 deletions
|
@ -66,6 +66,16 @@ run mkdir -p /var/run/sshd`,
|
|||
{[]string{"ls", "-d", "/var/run/sshd"}, "/var/run/sshd\n"},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
`
|
||||
from docker-ut
|
||||
add foo /usr/lib/bla/bar`,
|
||||
[][2]string{{"foo", "hello world!"}},
|
||||
[]testCommand{
|
||||
{[]string{"cat", "/usr/lib/bla/bar"}, "hello world!"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
func TestBuild(t *testing.T) {
|
||||
|
|
Loading…
Add table
Reference in a new issue