mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
13e3f24e7d
Use `docker-sbom` directly or use `docker.override { sbomSupport = true; }` to enable `docker sbom` as a subcommand.
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
diff --git a/test/cli/all_formats_expressible_test.go b/test/cli/all_formats_expressible_test.go
|
|
index 3f40a46..5ba04e8 100644
|
|
--- a/test/cli/all_formats_expressible_test.go
|
|
+++ b/test/cli/all_formats_expressible_test.go
|
|
@@ -8,7 +8,8 @@ import (
|
|
"github.com/anchore/syft/syft"
|
|
)
|
|
|
|
-func TestAllFormatsExpressible(t *testing.T) {
|
|
+// Disabled because it needs a running docker daemon
|
|
+func disabledTestAllFormatsExpressible(t *testing.T) {
|
|
commonAssertions := []traitAssertion{
|
|
func(tb testing.TB, stdout, _ string, _ int) {
|
|
tb.Helper()
|
|
diff --git a/test/cli/sbom_cmd_test.go b/test/cli/sbom_cmd_test.go
|
|
index 0a0771c..a086c3b 100644
|
|
--- a/test/cli/sbom_cmd_test.go
|
|
+++ b/test/cli/sbom_cmd_test.go
|
|
@@ -8,7 +8,8 @@ import (
|
|
"github.com/docker/sbom-cli-plugin/internal"
|
|
)
|
|
|
|
-func TestSBOMCmdFlags(t *testing.T) {
|
|
+// Disabled because it needs a running docker daemon
|
|
+func disabledTestSBOMCmdFlags(t *testing.T) {
|
|
hiddenPackagesImage := getFixtureImage(t, "image-hidden-packages")
|
|
coverageImage := getFixtureImage(t, "image-pkg-coverage")
|
|
tmp := t.TempDir() + "/"
|