summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2023-11-21 13:44:40 +0000
committerReinhard Tartler <siretart@tauware.de>2023-11-21 14:20:54 +0000
commit2490a56a7ddfd2aa845c911769cfb4bbbcb5293f (patch)
treeef9695393eb5889253b7e589426df69a78820c10
parentb2cba89e1149a02c0fc16ee816cbad033772d710 (diff)
disable tests that require internet connectivity
-rw-r--r--debian/patches/disable-tests-that-download.ptach49
-rw-r--r--debian/patches/series1
2 files changed, 50 insertions, 0 deletions
diff --git a/debian/patches/disable-tests-that-download.ptach b/debian/patches/disable-tests-that-download.ptach
new file mode 100644
index 0000000..f0abd0d
--- /dev/null
+++ b/debian/patches/disable-tests-that-download.ptach
@@ -0,0 +1,49 @@
+Index: golang-github-sigstore-sigstore/pkg/tuf/client_test.go
+===================================================================
+--- golang-github-sigstore-sigstore.orig/pkg/tuf/client_test.go
++++ golang-github-sigstore-sigstore/pkg/tuf/client_test.go
+@@ -1,3 +1,7 @@
++// +build debian_disabled
++
++// disabled in debian as these tests require internet connectivity
++
+ //
+ // Copyright 2022 The Sigstore Authors.
+ //
+Index: golang-github-sigstore-sigstore/pkg/signature/kms/azure/client_test.go
+===================================================================
+--- golang-github-sigstore-sigstore.orig/pkg/signature/kms/azure/client_test.go
++++ golang-github-sigstore-sigstore/pkg/signature/kms/azure/client_test.go
+@@ -1,3 +1,7 @@
++// +build debian_disabled
++
++// disabled in debian as these tests require internet connectivity
++
+ //
+ // Copyright 2022 The Sigstore Authors.
+ //
+Index: golang-github-sigstore-sigstore/pkg/oauth/oidc/pkce_test.go
+===================================================================
+--- golang-github-sigstore-sigstore.orig/pkg/oauth/oidc/pkce_test.go
++++ golang-github-sigstore-sigstore/pkg/oauth/oidc/pkce_test.go
+@@ -1,3 +1,7 @@
++// +build debian_disabled
++
++// disabled in debian as these tests require internet connectivity
++
+ // Copyright 2022 The Sigstore Authors.
+ //
+ // Licensed under the Apache License, Version 2.0 (the "License");
+Index: golang-github-sigstore-sigstore/pkg/oauthflow/pkce_test.go
+===================================================================
+--- golang-github-sigstore-sigstore.orig/pkg/oauthflow/pkce_test.go
++++ golang-github-sigstore-sigstore/pkg/oauthflow/pkce_test.go
+@@ -1,3 +1,8 @@
++// +build debian_disabled
++
++// disabled in debian as these tests require internet connectivity
++
++
+ //
+ // Copyright 2021 The Sigstore Authors.
+ //
diff --git a/debian/patches/series b/debian/patches/series
index 0700ff4..a182663 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
jose-v2.patch
avoid-boulder.patch
+disable-tests-that-download.ptach