File: 0002-skip-tests-that-need-user-namespace.patch

package info (click to toggle)
rootlesskit 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 592 kB
  • sloc: sh: 363; makefile: 25
file content (20 lines) | stat: -rw-r--r-- 601 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
From: Shengjing Zhu <zhsj@debian.org>
Date: Fri, 1 May 2020 02:38:43 +0800
Subject: skip tests that need user namespace

---
 pkg/port/builtin/builtin_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/port/builtin/builtin_test.go b/pkg/port/builtin/builtin_test.go
index 10d9472..8a7f145 100644
--- a/pkg/port/builtin/builtin_test.go
+++ b/pkg/port/builtin/builtin_test.go
@@ -16,6 +16,7 @@ func TestMain(m *testing.M) {
 }
 
 func TestBuiltIn(t *testing.T) {
+	t.Skip("Need user namespace permission")
 	tmpDir, err := os.MkdirTemp("", "test-builtin")
 	if err != nil {
 		t.Fatal(err)