biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / virtualization / docker / sbom-disable-tests.patch
blob2bf3116da814013c44d722d7a5cd07f468b9159e
1 diff --git a/test/cli/all_formats_expressible_test.go b/test/cli/all_formats_expressible_test.go
2 index 3f40a46..5ba04e8 100644
3 --- a/test/cli/all_formats_expressible_test.go
4 +++ b/test/cli/all_formats_expressible_test.go
5 @@ -8,7 +8,8 @@ import (
6 "github.com/anchore/syft/syft"
9 -func TestAllFormatsExpressible(t *testing.T) {
10 +// Disabled because it needs a running docker daemon
11 +func disabledTestAllFormatsExpressible(t *testing.T) {
12 commonAssertions := []traitAssertion{
13 func(tb testing.TB, stdout, _ string, _ int) {
14 tb.Helper()
15 diff --git a/test/cli/sbom_cmd_test.go b/test/cli/sbom_cmd_test.go
16 index 0a0771c..a086c3b 100644
17 --- a/test/cli/sbom_cmd_test.go
18 +++ b/test/cli/sbom_cmd_test.go
19 @@ -8,7 +8,8 @@ import (
20 "github.com/docker/sbom-cli-plugin/internal"
23 -func TestSBOMCmdFlags(t *testing.T) {
24 +// Disabled because it needs a running docker daemon
25 +func disabledTestSBOMCmdFlags(t *testing.T) {
26 hiddenPackagesImage := getFixtureImage(t, "image-hidden-packages")
27 coverageImage := getFixtureImage(t, "image-pkg-coverage")
28 tmp := t.TempDir() + "/"