From 95b8979a538ec420a7ef6906bf7640422fd1edba Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 23 Oct 2022 15:33:19 -0700
Subject: [PATCH] tests/gexp.scm: references-file: Skip test depending on
 bootstrap binaries when network is not reachable.

---
 tests/gexp.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gexp.scm b/tests/gexp.scm
index 6d57ac5d7a..0446ed6d32 100644
--- a/tests/gexp.scm
+++ b/tests/gexp.scm
@@ -1605,6 +1605,7 @@ importing.* \\(guix config\\) from the host"
                    (not (member (derivation-file-name native) refs))
                    (member (derivation-file-name cross) refs))))))
 
+(unless (network-reachable?) (test-skip 1))
 (test-assertm "references-file"
   (let* ((exp      #~(symlink #$%bootstrap-guile #$output))
          (computed (computed-file "computed" exp
-- 
2.35.1

