File: 0002-Skip-test-failure-in-Ubuntu-Debian-chroots-Closes-11.patch

package info (click to toggle)
golang-github-opencontainers-cgroups 0.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 860 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (2)
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: Tue, 4 Nov 2025 15:08:08 -0500
Subject: Skip test failure in Ubuntu/Debian chroots, Closes: #1119327

---
 fs/paths_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/paths_test.go b/fs/paths_test.go
index 42b8b66..9eb7796 100644
--- a/fs/paths_test.go
+++ b/fs/paths_test.go
@@ -16,7 +16,7 @@ func TestInvalidCgroupPath(t *testing.T) {
 
 	root, err := rootPath()
 	if err != nil {
-		t.Fatalf("couldn't get cgroup root: %v", err)
+		t.Skipf("couldn't get cgroup root: %v", err)
 	}
 
 	testCases := []struct {