tests: Skip 'guix pack' test when networking is unavailable.
authorLudovic Courtès <ludo@gnu.org>
Wed, 22 Mar 2017 13:43:56 +0000 (14:43 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 22 Mar 2017 14:02:33 +0000 (15:02 +0100)
* tests/pack.scm ("self-contained-tarball"): Skip unless (network-reachable?).

tests/pack.scm

index eb643c3..3bce715 100644 (file)
@@ -50,6 +50,7 @@
 \f
 (test-begin "pack")
 
+(unless (network-reachable?) (test-skip 1))
 (test-assertm "self-contained-tarball"
   (mlet* %store-monad
       ((profile (profile-derivation (packages->manifest