summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-10-28 15:55:10 +0100
committerLudovic Courtès <ludo@gnu.org>2015-10-28 15:55:10 +0100
commit855038b294853e4e81a6a2430c33f42495d98b6b (patch)
tree62d79bcd95986699732e57c181d1b641f55f14d2 /tests
parentfd688c82bf4ee543dbb5f55bf3913668c4bf4483 (diff)
downloadpatches-855038b294853e4e81a6a2430c33f42495d98b6b.tar
patches-855038b294853e4e81a6a2430c33f42495d98b6b.tar.gz
tests: Print the mounts visible in the container.
* tests/guix-environment-container.sh: Print the content of $tmpdir/mounts.
Diffstat (limited to 'tests')
-rw-r--r--tests/guix-environment-container.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/guix-environment-container.sh b/tests/guix-environment-container.sh
index 9c3e93dd8c..141fd160a7 100644
--- a/tests/guix-environment-container.sh
+++ b/tests/guix-environment-container.sh
@@ -66,6 +66,7 @@ mount_test_code="
guix environment --container --ad-hoc --bootstrap guile-bootstrap \
-- guile -c "$mount_test_code" > $tmpdir/mounts
+cat "$tmpdir/mounts"
test `wc -l < $tmpdir/mounts` -eq 3
grep -e "$PWD$" $tmpdir/mounts # current directory