summaryrefslogtreecommitdiff
path: root/tests/processes.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/processes.scm')
-rw-r--r--tests/processes.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/processes.scm b/tests/processes.scm
index ba518f2d9e3..a72ba16f587 100644
--- a/tests/processes.scm
+++ b/tests/processes.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2018, 2025 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com> 3;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
4;;; 4;;;
5;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
@@ -25,6 +25,8 @@
25 #:use-module (guix gexp) 25 #:use-module (guix gexp)
26 #:use-module ((guix utils) #:select (call-with-temporary-directory)) 26 #:use-module ((guix utils) #:select (call-with-temporary-directory))
27 #:use-module (gnu packages bootstrap) 27 #:use-module (gnu packages bootstrap)
28 #:use-module ((gnu build linux-container)
29 #:select (unprivileged-user-namespace-supported?))
28 #:use-module (guix tests) 30 #:use-module (guix tests)
29 #:use-module (srfi srfi-1) 31 #:use-module (srfi srfi-1)
30 #:use-module (srfi srfi-64) 32 #:use-module (srfi srfi-64)
@@ -84,6 +86,11 @@
84 (and (kill (process-id daemon) 0) 86 (and (kill (process-id daemon) 0)
85 (string-suffix? "guix-daemon" (first (process-command daemon))))))) 87 (string-suffix? "guix-daemon" (first (process-command daemon)))))))
86 88
89(when (unprivileged-user-namespace-supported?)
90 ;; The test below assumes the build process can communicate with the outside
91 ;; world via the TOKEN1 and TOKEN2 files, which is impossible when
92 ;; guix-daemon is set up to build in separate namespaces.
93 (test-skip 1))
87(test-assert* "client + lock" 94(test-assert* "client + lock"
88 (with-store store 95 (with-store store
89 (call-with-temporary-directory 96 (call-with-temporary-directory