File: 0025-tests-containers.scm-Disable-container-tests.patch

package info (click to toggle)
guix 1.4.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 161,500 kB
  • sloc: lisp: 861,023; cpp: 10,741; javascript: 9,632; sh: 8,913; makefile: 951; ansic: 558; python: 129; sql: 33; sed: 16
file content (28 lines) | stat: -rw-r--r-- 944 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
From df63003cef7be79b9c8d964563bbc4d19e3a1dff Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
Date: Wed, 20 Jan 2021 19:19:26 -0800
Subject: [PATCH 25/29] tests/containers.scm: Disable container tests.

---
 tests/containers.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/containers.scm b/tests/containers.scm
index 608902c41a..172744d859 100644
--- a/tests/containers.scm
+++ b/tests/containers.scm
@@ -41,10 +41,7 @@
 ;; Skip these tests unless user namespaces are available and the setgroups
 ;; file (introduced in Linux 3.19 to address a security issue) exists.
 (define (skip-if-unsupported)
-  (unless (and (user-namespace-supported?)
-               (unprivileged-user-namespace-supported?)
-               (setgroups-supported?))
-    (test-skip 1)))
+  (test-skip 1))
 
 (skip-if-unsupported)
 (test-assert "call-with-container, exit with 0 when there is no error"
-- 
2.30.2