Skip to content

Commit

Permalink
chore(arch): add test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Mar 6, 2022
1 parent 3c6860c commit 0b2d1a8
Show file tree
Hide file tree
Showing 4 changed files with 739 additions and 0 deletions.
7 changes: 7 additions & 0 deletions integration/client_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,13 @@ func TestClientServer(t *testing.T) {
},
golden: "testdata/mariner-1.0.json.golden",
},
{
name: "archlinux",
args: csArgs{
Input: "testdata/fixtures/images/archlinux.tar.gz",
},
golden: "testdata/archlinux.json.golden",
},
{
name: "buxybox with Cargo.lock",
args: csArgs{
Expand Down
6 changes: 6 additions & 0 deletions integration/docker_engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ func TestDockerEngine(t *testing.T) {
input: "testdata/fixtures/images/mariner-1.0.tar.gz",
golden: "testdata/mariner-1.0.json.golden",
},
{
name: "archlinux",
imageTag: "archlinux:latest",
input: "testdata/fixtures/images/archlinux.tar.gz",
golden: "testdata/archlinux.json.golden",
},
{
name: "busybox with Cargo.lock",
imageTag: "busy-cargo:latest",
Expand Down
8 changes: 8 additions & 0 deletions integration/standalone_tar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,14 @@ func TestTar(t *testing.T) {
},
golden: "testdata/mariner-1.0.json.golden",
},
{
name: "archlinux",
testArgs: args{
Format: "json",
Input: "testdata/fixtures/images/archlinux.tar.gz",
},
golden: "testdata/archlinux.json.golden",
},
{
name: "buxybox with Cargo.lock integration",
testArgs: args{
Expand Down
Loading

0 comments on commit 0b2d1a8

Please sign in to comment.