Skip to content

Commit

Permalink
Add conformance test
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Riepl <[email protected]>
  • Loading branch information
onitake committed Nov 23, 2024
1 parent 57b97fa commit 336feec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/conformance/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3451,6 +3451,17 @@ var internalTestCases = []testCase{
dockerUseBuildKit: true,
buildArgs: map[string]string{"SOURCE": "e/**/**/*sub/*.txt"},
},

{
name: "argument inheritance",
dockerUseBuildKit: true,
dockerfileContents: strings.Join([]string{
"FROM mirror.gcr.io/busybox AS base",
"ARG NAME=\"joe\"",
"FROM base AS build",
"RUN echo \"hello $NAME!\" > /hello.txt",
}, "\n"),
},
}

func TestCommit(t *testing.T) {
Expand Down

0 comments on commit 336feec

Please sign in to comment.