tests: Print the mounts visible in the container.

* tests/guix-environment-container.sh: Print the content of
  $tmpdir/mounts.
This commit is contained in:
Ludovic Courtès 2015-10-28 15:55:10 +01:00
parent fd688c82bf
commit 855038b294

View File

@ -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