File: 0002-skip-privileged-test-factory_linux_test.go.patch

package info (click to toggle)
runc 1.1.5%2Bds1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports
  • size: 3,048 kB
  • sloc: sh: 1,847; ansic: 1,434; makefile: 138
file content (30 lines) | stat: -rw-r--r-- 936 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
22
23
24
25
26
27
28
29
30
From: Dmitry Smirnov <onlyjob@debian.org>
Date: Sun, 15 Nov 2020 21:42:17 +0800
Subject: skip privileged test: factory_linux_test.go

Last-Update: 2018-06-15
Forwarded: not-needed
---
 libcontainer/factory_linux_test.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libcontainer/factory_linux_test.go b/libcontainer/factory_linux_test.go
index d29c32e..80ec0fa 100644
--- a/libcontainer/factory_linux_test.go
+++ b/libcontainer/factory_linux_test.go
@@ -60,6 +60,7 @@ func TestFactoryNewIntelRdt(t *testing.T) {
 }
 
 func TestFactoryNewTmpfs(t *testing.T) {
+	t.Skip("DM - skipping privileged test")
 	root := t.TempDir()
 	factory, err := New(root, TmpfsRoot)
 	if err != nil {
@@ -121,6 +122,7 @@ func TestFactoryLoadNotExists(t *testing.T) {
 }
 
 func TestFactoryLoadContainer(t *testing.T) {
+	t.Skip("DM - skipping privileged test")
 	root := t.TempDir()
 	// setup default container config and state for mocking
 	var (