File: 0007-skip-test-cgroups_test.go-fail-when-cgroups-is-not-m.patch

package info (click to toggle)
runc 1.0.0~rc93%2Bds1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,172 kB
  • sloc: sh: 1,679; ansic: 1,039; makefile: 139
file content (18 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Shengjing Zhu <zhsj@debian.org>
Date: Sat, 23 Jan 2021 22:29:01 +0800
Subject: skip test: cgroups_test.go, fail when cgroups is not mounted

---
 libcontainer/cgroups/cgroups_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcontainer/cgroups/cgroups_test.go b/libcontainer/cgroups/cgroups_test.go
index 9efb83e..bb73411 100644
--- a/libcontainer/cgroups/cgroups_test.go
+++ b/libcontainer/cgroups/cgroups_test.go
@@ -1,4 +1,4 @@
-// +build linux
+// +build ignore
 
 package cgroups