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.
|
||||
#
|
||||
|
||||
# The bootstrap binaries are needed to run these tests, which usually requires
|
||||
# a network connection.
|
||||
if ! guix build -q guile-bootstrap; then
|
||||
# A network connection is required to build %bootstrap-coreutils&co,
|
||||
# which is required to run these tests with the --bootstrap option.
|
||||
if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null; then
|
||||
exit 77
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue