Skip to content

Commit 336feec

Browse files
committed
Add conformance test
Signed-off-by: Gregor Riepl <[email protected]>
1 parent 57b97fa commit 336feec

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/conformance/conformance_test.go

+11
Original file line numberDiff line numberDiff line change
@@ -3451,6 +3451,17 @@ var internalTestCases = []testCase{
34513451
dockerUseBuildKit: true,
34523452
buildArgs: map[string]string{"SOURCE": "e/**/**/*sub/*.txt"},
34533453
},
3454+
3455+
{
3456+
name: "argument inheritance",
3457+
dockerUseBuildKit: true,
3458+
dockerfileContents: strings.Join([]string{
3459+
"FROM mirror.gcr.io/busybox AS base",
3460+
"ARG NAME=\"joe\"",
3461+
"FROM base AS build",
3462+
"RUN echo \"hello $NAME!\" > /hello.txt",
3463+
}, "\n"),
3464+
},
34543465
}
34553466

34563467
func TestCommit(t *testing.T) {

0 commit comments

Comments
 (0)