File: t-skip--TestStandaloneSign.patch

package info (click to toggle)
skopeo 1.21.0~pre1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,908 kB
  • sloc: sh: 616; makefile: 188; perl: 156
file content (36 lines) | stat: -rw-r--r-- 1,430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From: Dmitry Smirnov <onlyjob@debian.org>
Date: Wed, 26 Nov 2025 06:07:01 -0500
Subject: disable failing test

Last-Update: 2019-10-29
Forwarded: not-needed

~~~~
 FAIL: TestStandaloneSign (0.04s)
    signing_test.go:30:
                Error Trace:    signing_test.go:30
                                                        signing_test.go:78
                Error:          "Error creating signature: key "1D8230F6CDB6A06716E414C1DB72F2188BB46CC8" not found" does not contain "/dev/full"
                Test:           TestStandaloneSign
    require.go:794:
                Error Trace:    signing_test.go:86
                Error:          Received unexpected error:
                                Error creating signature: key "1D8230F6CDB6A06716E414C1DB72F2188BB46CC8" not found
                Test:           TestStandaloneSign
~~~~
---
 cmd/skopeo/signing_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/skopeo/signing_test.go b/cmd/skopeo/signing_test.go
index e10b566..517eff0 100644
--- a/cmd/skopeo/signing_test.go
+++ b/cmd/skopeo/signing_test.go
@@ -29,6 +29,7 @@ func assertTestFailed(t *testing.T, stdout string, err error, substring string)
 }
 
 func TestStandaloneSign(t *testing.T) {
+	t.Skip("This test doesn't work during debian package build, not finding the correct keys")
 	t.Setenv("GNUPGHOME", "fixtures")
 	mech, err := signature.NewGPGSigningMechanism()
 	require.NoError(t, err)