tests: Skip 'tests/guix-pack.sh' when networking is missing.
The test could fail because "static-binaries.tar.xz" is missing, for
instance.
* tests/guix-pack.sh: Require a network connection to be on the safe
side. This reverts part of 47a60325ca
.
This commit is contained in:
parent
7acdecec99
commit
ce9e684b83
|
@ -20,9 +20,9 @@
|
||||||
# Test the `guix pack' command-line utility.
|
# Test the `guix pack' command-line utility.
|
||||||
#
|
#
|
||||||
|
|
||||||
# The bootstrap binaries are needed to run these tests, which usually requires
|
# A network connection is required to build %bootstrap-coreutils&co,
|
||||||
# a network connection.
|
# which is required to run these tests with the --bootstrap option.
|
||||||
if ! guix build -q guile-bootstrap; then
|
if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null; then
|
||||||
exit 77
|
exit 77
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue