summaryrefslogtreecommitdiff
path: root/tests/guix-environment.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/guix-environment.sh')
-rw-r--r--tests/guix-environment.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-environment.sh b/tests/guix-environment.sh
index d04e6a6ea0..08c97cbb65 100644
--- a/tests/guix-environment.sh
+++ b/tests/guix-environment.sh
@@ -31,11 +31,14 @@ mkdir "$tmpdir"
# Check the environment variables for the bootstrap Guile.
guix environment --ad-hoc guile-bootstrap --pure --search-paths > "$tmpdir/a"
+guix environment --ad-hoc guile-bootstrap:out --pure --search-paths > "$tmpdir/b"
# $PATH must appear in the search paths, and nothing else.
grep -E '^export PATH=.*guile-bootstrap-[0-9.]+/bin' "$tmpdir/a"
test "`wc -l < "$tmpdir/a"`" = 1
+cmp "$tmpdir/a" "$tmpdir/b"
+
if guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null
then
# Compute the build environment for the initial GNU Make.