summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/guix-test-networking.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-12-11 13:55:17 +0100
committerLudovic Courtès <ludo@gnu.org>2013-12-11 13:55:17 +0100
commit8a43ff101e28c432cf96333018c4b0c35acf9d64 (patch)
tree3a1fe2a56f9e01868ee833c2e6d44337bfcecde4 /gnu/packages/patches/guix-test-networking.patch
parente71998cd93dc4b5eb77ec881adef20ae3a39df56 (diff)
gnu: guix: Upgrade to 0.5.
* gnu/packages/package-management.scm (guix): Upgrade to 0.5. Update the bootstrap binaries; add mips64el; add 'guix-test-networking.patch'.
Diffstat (limited to 'gnu/packages/patches/guix-test-networking.patch')
-rw-r--r--gnu/packages/patches/guix-test-networking.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/guix-test-networking.patch b/gnu/packages/patches/guix-test-networking.patch
new file mode 100644
index 0000000000..a8d1f4fd2f
--- /dev/null
+++ b/gnu/packages/patches/guix-test-networking.patch
@@ -0,0 +1,15 @@
+Skip that test when the network is unreachable.
+
+diff --git a/tests/packages.scm b/tests/packages.scm
+index 04e3b0b..6ac215b 100644
+--- a/tests/packages.scm
++++ b/tests/packages.scm
+@@ -139,6 +139,8 @@
+ (and (direct-store-path? source)
+ (string-suffix? "utils.scm" source))))
+
++(unless (false-if-exception (getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV))
++ (test-skip 1))
+ (test-equal "package-source-derivation, snippet"
+ "OK"
+ (let* ((file (search-bootstrap-binary "guile-2.0.9.tar.xz"