From f50e40008f39c77cab2b516ac2102f875bdef215 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Sat, 15 Jun 2013 11:35:56 -0700 Subject: [PATCH] * Builder: added a regression test for #895 --- buildfile_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/buildfile_test.go b/buildfile_test.go index 383463ce24..3b03b8dd04 100644 --- a/buildfile_test.go +++ b/buildfile_test.go @@ -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) {