Skip to content
Snippets Groups Projects
Commit 855038b2 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

tests: Print the mounts visible in the container.

* tests/guix-environment-container.sh: Print the content of
  $tmpdir/mounts.
parent fd688c82
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,7 @@ mount_test_code=" ...@@ -66,6 +66,7 @@ mount_test_code="
guix environment --container --ad-hoc --bootstrap guile-bootstrap \ guix environment --container --ad-hoc --bootstrap guile-bootstrap \
-- guile -c "$mount_test_code" > $tmpdir/mounts -- guile -c "$mount_test_code" > $tmpdir/mounts
cat "$tmpdir/mounts"
test `wc -l < $tmpdir/mounts` -eq 3 test `wc -l < $tmpdir/mounts` -eq 3
grep -e "$PWD$" $tmpdir/mounts # current directory grep -e "$PWD$" $tmpdir/mounts # current directory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment