mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
tests: Print the mounts visible in the container.
* tests/guix-environment-container.sh: Print the content of $tmpdir/mounts.
This commit is contained in:
parent
fd688c82bf
commit
855038b294
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue