| 1 |
From 40b9bffa2f2a3395776b592a9ad9e8ac0695591a Mon Sep 17 00:00:00 2001 |
| 2 |
From: Simon Josefsson <[email protected]> |
| 3 |
Date: Sun, 27 Oct 2024 11:05:53 +0100 |
| 4 |
Subject: [PATCH] Skip c2sp.org/CCTV/age usage until packaged. |
| 5 |
|
| 6 |
--- |
| 7 |
testkit_test.go | 19 +------------------ |
| 8 |
1 file changed, 1 insertion(+), 18 deletions(-) |
| 9 |
|
| 10 |
diff --git a/testkit_test.go b/testkit_test.go |
| 11 |
index 78ccc43..cd1074b 100644 |
| 12 |
--- a/testkit_test.go |
| 13 |
+++ b/testkit_test.go |
| 14 |
@@ -13,7 +13,6 @@ import ( |
| 15 |
"encoding/hex" |
| 16 |
"errors" |
| 17 |
"io" |
| 18 |
- "io/fs" |
| 19 |
"strings" |
| 20 |
"testing" |
| 21 |
|
| 22 |
@@ -23,26 +22,10 @@ import ( |
| 23 |
"filippo.io/age/internal/stream" |
| 24 |
"golang.org/x/crypto/chacha20poly1305" |
| 25 |
"golang.org/x/crypto/hkdf" |
| 26 |
- |
| 27 |
- agetest "c2sp.org/CCTV/age" |
| 28 |
) |
| 29 |
|
| 30 |
func forEachVector(t *testing.T, f func(t *testing.T, v *vector)) { |
| 31 |
- tests, err := fs.ReadDir(agetest.Vectors, ".") |
| 32 |
- if err != nil { |
| 33 |
- t.Fatal(err) |
| 34 |
- } |
| 35 |
- for _, test := range tests { |
| 36 |
- name := test.Name() |
| 37 |
- contents, err := fs.ReadFile(agetest.Vectors, name) |
| 38 |
- if err != nil { |
| 39 |
- t.Fatal(err) |
| 40 |
- } |
| 41 |
- t.Run(name, func(t *testing.T) { |
| 42 |
- t.Parallel() |
| 43 |
- f(t, parseVector(t, contents)) |
| 44 |
- }) |
| 45 |
- } |
| 46 |
+ t.Skip("Skip c2sp until package in Debian") |
| 47 |
} |
| 48 |
|
| 49 |
type vector struct { |
| 50 |
-- |
| 51 |
2.46.0 |
| 52 |
|