Browse Source

tests: Don't check file-systems in container tests.

Hello,

The containers test was hanging for me, and this patch fixed the
problem.

--
Andy

From 945ad44acf Mon Sep 17 00:00:00 2001
From: Andy Patterson <ajpatter@uwaterloo.ca>
Date: Sat, 12 Nov 2016 22:10:01 -0500
Subject: [PATCH] tests: Don't check file-systems in container tests.

* tests/containers.scm ("call-with-container, mnt namespace"): Don't
check file-system in 'call-with-container' call.
* tests/containers.scm
("call-with-container, mnt namespace, wrong bindmount"): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
version-0.12.0
Andy Patterson 5 years ago
committed by Ludovic Courtès
parent
commit
a24b56fa8d
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 6
      tests/containers.scm

6
tests/containers.scm

@ -84,7 +84,8 @@
(call-with-container (list (file-system
(device "none")
(mount-point "/testing")
(type "tmpfs")))
(type "tmpfs")
(check? #f)))
(lambda ()
(assert-exit (file-exists? "/testing")))
#:namespaces '(user mnt))))
@ -99,7 +100,8 @@
(device "/does-not-exist")
(mount-point "/foo")
(type "none")
(flags '(bind-mount))))
(flags '(bind-mount))
(check? #f)))
(const #t)
#:namespaces '(user mnt)))
(lambda args

Loading…
Cancel
Save