File: 000-skip-test.patch

package info (click to toggle)
golang-k8s-utils 0.0~git20250820.0af2bda-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,048 kB
  • sloc: sh: 245; makefile: 25
file content (15 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Mathias Gibbens <gibmat@debian.org>
Description: Disable a test that fails when run in an unprivileged container
Forwarded: not-needed
diff --git a/nsenter/nsenter_test.go b/nsenter/nsenter_test.go
index 94ec532..47031c5 100644
--- a/nsenter/nsenter_test.go
+++ b/nsenter/nsenter_test.go
@@ -270,6 +270,7 @@ func TestEvalSymlinks(t *testing.T) {
 }
 
 func TestNewNsenter(t *testing.T) {
+	t.Skip("skipping test that fails in container")
 	// Create a symlink /tmp/xyz/rootfs -> / and use it as rootfs path
 	// It should resolve all binaries correctly, the test runs on Linux