1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Anthony Fok <foka@debian.org>
Date: Thu, 17 Mar 2022 01:19:16 +0800
Subject: Skip wycheproof_test.go to prevent network access
Origin: vendor
Forwarded: not-needed
---
internal/wycheproof/wycheproof_test.go | 3 +++
1 file changed, 3 insertions(+)
--- a/internal/wycheproof/wycheproof_test.go
+++ b/internal/wycheproof/wycheproof_test.go
@@ -29,6 +29,8 @@
var wycheproofTestVectorsDir string
func TestMain(m *testing.M) {
+ log.Printf("skipping test to prevent network access during Debian build")
+ os.Exit(0)
flag.Parse()
if flag.Lookup("test.short").Value.(flag.Getter).Get().(bool) {
log.Println("skipping test that downloads testdata via 'go mod download' in short mode")
|