HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d525da8
)
tests: Skip 'guix-package-net.sh' when prerequisites aren't met.
author
Ludovic Courtès
<ludo@gnu.org>
Wed, 8 Apr 2015 08:20:25 +0000
(10:20 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 8 Apr 2015 08:20:59 +0000
(10:20 +0200)
* tests/guix-package-net.sh: Reinstate networking and shebang test that
inadvertently vanished in commit
57b8623
.
tests/guix-package-net.sh
patch
|
blob
|
blame
|
history
diff --git
a/tests/guix-package-net.sh
b/tests/guix-package-net.sh
index
cedfa32
..
cf3233b
100644
(file)
--- a/
tests/guix-package-net.sh
+++ b/
tests/guix-package-net.sh
@@
-37,6
+37,14
@@
shebang_too_long ()
-ge 128
}
+if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null \
+ || shebang_too_long
+then
+ # Skipping.
+ exit 77
+fi
+
+
profile="t-profile-$$"
rm -f "$profile"