aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-03-22 14:43:56 +0100
committerLudovic Courtès <ludo@gnu.org>2017-03-22 15:02:33 +0100
commit50b4d3ac2699764079882eea164cb176a74799aa (patch)
tree76e5c2f837d9f90c591188a0fbf4e45fdbdb31c0 /tests
parented407f3ccc5de3e440884001d05887a07df5fa81 (diff)
downloadpatches-50b4d3ac2699764079882eea164cb176a74799aa.tar
patches-50b4d3ac2699764079882eea164cb176a74799aa.tar.gz
tests: Skip 'guix pack' test when networking is unavailable.
* tests/pack.scm ("self-contained-tarball"): Skip unless (network-reachable?).
Diffstat (limited to 'tests')
-rw-r--r--tests/pack.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pack.scm b/tests/pack.scm
index eb643c3229..3bce715075 100644
--- a/tests/pack.scm
+++ b/tests/pack.scm
@@ -50,6 +50,7 @@
(test-begin "pack")
+(unless (network-reachable?) (test-skip 1))
(test-assertm "self-contained-tarball"
(mlet* %store-monad
((profile (profile-derivation (packages->manifest