diff --git a/components/engine/buildfile_test.go b/components/engine/buildfile_test.go index 383463ce24..3b03b8dd04 100644 --- a/components/engine/buildfile_test.go +++ b/components/engine/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) {