Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 28 lines 1.1 kB view raw
1diff --git a/test/cli/all_formats_expressible_test.go b/test/cli/all_formats_expressible_test.go 2index 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" 7 ) 8 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() 15diff --git a/test/cli/sbom_cmd_test.go b/test/cli/sbom_cmd_test.go 16index 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" 21 ) 22 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() + "/"