File: 0005-Disable-TestDeviceFromPath.patch

package info (click to toggle)
golang-github-containers-buildah 1.39.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,724 kB
  • sloc: sh: 2,398; makefile: 236; perl: 187; asm: 16; awk: 12; ansic: 1
file content (21 lines) | stat: -rw-r--r-- 624 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
From: Reinhard Tartler <siretart@tauware.de>
Date: Wed, 10 Jul 2024 21:16:08 -0400
Subject: Disable TestDeviceFromPath

Closes: #1072147
---
 pkg/parse/parse_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/parse/parse_test.go b/pkg/parse/parse_test.go
index 6cbb3af..94881b4 100644
--- a/pkg/parse/parse_test.go
+++ b/pkg/parse/parse_test.go
@@ -88,6 +88,7 @@ func TestIsValidDeviceMode(t *testing.T) {
 }
 
 func TestDeviceFromPath(t *testing.T) {
+	t.Skip("Test unsuitable for debian, see https://bugs.debian.org/1072147")
 	if runtime.GOOS != "linux" {
 		t.Skip("Devices is only supported on Linux")
 	}