From: Shengjing Zhu <zhsj@debian.org>
Date: Sun, 10 Jan 2021 22:51:07 +0800
Subject: Disable tests which needs cgroupv2

The LXC container on ci.debian.net seems broken.
https://ci.debian.net/data/autopkgtest/unstable/amd64/g/golang-github-containerd-cgroups/9569538/log.gz

Forwarded: not-needed
---
 v2/manager_test.go   | 3 +++
 v2/testutils_test.go | 1 +
 2 files changed, 4 insertions(+)

diff --git a/v2/manager_test.go b/v2/manager_test.go
index 35d104c..8b29c64 100644
--- a/v2/manager_test.go
+++ b/v2/manager_test.go
@@ -1,3 +1,6 @@
+//go:build ignore
+// +build ignore
+
 /*
    Copyright The containerd Authors.
 
diff --git a/v2/testutils_test.go b/v2/testutils_test.go
index a329ce8..abfb9c0 100644
--- a/v2/testutils_test.go
+++ b/v2/testutils_test.go
@@ -28,6 +28,7 @@ import (
 )
 
 func checkCgroupMode(t *testing.T) {
+	t.Skip("cgroupv2 support in LXC container on ci.debian.net is broken")
 	var st syscall.Statfs_t
 	if err := syscall.Statfs(defaultCgroup2Path, &st); err != nil {
 		t.Fatal("cannot statfs cgroup root")
