Files
golang-github-containernetw…/0001-Disable-test-with-missing-testdata.patch
2025-01-15 15:31:13 +01:00

76 lines
2.5 KiB
Diff

Index: libcni/backwards_compatibility_test.go
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/libcni/backwards_compatibility_test.go b/libcni/backwards_compatibility_test.go
--- a/libcni/backwards_compatibility_test.go
+++ b/libcni/backwards_compatibility_test.go (date 1736948824706)
@@ -1,3 +1,5 @@
+//go:build ignore
+
// Copyright 2016 CNI authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -26,8 +28,6 @@
"github.com/containernetworking/cni/libcni"
"github.com/containernetworking/cni/pkg/version/legacy_examples"
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Index: pkg/invoke/get_version_integration_test.go
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/pkg/invoke/get_version_integration_test.go b/pkg/invoke/get_version_integration_test.go
--- a/pkg/invoke/get_version_integration_test.go
+++ b/pkg/invoke/get_version_integration_test.go (date 1736949125966)
@@ -1,4 +1,6 @@
-// Copyright 2016 CNI authors
+//go:build ignore
+
+//Copyright 2016 CNI authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -24,10 +26,6 @@
"github.com/containernetworking/cni/pkg/invoke"
"github.com/containernetworking/cni/pkg/version"
"github.com/containernetworking/cni/pkg/version/testhelpers"
-
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/ginkgo/extensions/table"
- . "github.com/onsi/gomega"
)
var _ = Describe("GetVersion, integration tests", func() {
Index: pkg/version/testhelpers/testhelpers_test.go
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/pkg/version/testhelpers/testhelpers_test.go b/pkg/version/testhelpers/testhelpers_test.go
--- a/pkg/version/testhelpers/testhelpers_test.go
+++ b/pkg/version/testhelpers/testhelpers_test.go (date 1612275612000)
@@ -1,3 +1,5 @@
+//go:build ignore
+
// Copyright 2016 CNI authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,8 +23,6 @@
"runtime"
"github.com/containernetworking/cni/pkg/version/testhelpers"
- . "github.com/onsi/ginkgo"
- . "github.com/onsi/gomega"
)
var _ = Describe("BuildAt", func() {