diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2018-05-18 17:18:33 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2018-05-19 00:14:51 +0200 |
| commit | ce9e684b8395fdd0c8217a2e4a1d2776f8ff5ea4 (patch) | |
| tree | 3d3a51c57c37256dfeebe68893f2aa310074758d /tests/guix-pack.sh | |
| parent | 7acdecec9992b81485814f153effdcb097c1e7c4 (diff) | |
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 47a60325ca650e8fc1a291c8655b4297f4de8deb.
Diffstat (limited to 'tests/guix-pack.sh')
| -rw-r--r-- | tests/guix-pack.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/guix-pack.sh b/tests/guix-pack.sh index 130389a7ad1..917d52451c5 100644 --- a/tests/guix-pack.sh +++ b/tests/guix-pack.sh | |||
| @@ -20,9 +20,9 @@ | |||
| 20 | # Test the `guix pack' command-line utility. | 20 | # Test the `guix pack' command-line utility. |
| 21 | # | 21 | # |
| 22 | 22 | ||
| 23 | # The bootstrap binaries are needed to run these tests, which usually requires | 23 | # A network connection is required to build %bootstrap-coreutils&co, |
| 24 | # a network connection. | 24 | # which is required to run these tests with the --bootstrap option. |
| 25 | if ! guix build -q guile-bootstrap; then | 25 | if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null; then |
| 26 | exit 77 | 26 | exit 77 |
| 27 | fi | 27 | fi |
| 28 | 28 | ||
