unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob b91c0bdcd4ca717cdb8aa90229af3c0f7bcc2e06 201 bytes (raw)
name: tests/common.sh 	 # note: path name is non-authoritative(*)

1
2
3
4
5
6
7
8
 
network_reachable() {
    if [ -n "$GUIX_DISABLE_NETWORK_TESTS" ]; then
		exit 77
    fi
    if ! guile -c '(getaddrinfo "www.gnu.org" "80" AI_NUMERICSERV)' 2> /dev/null; then
        exit 77
    fi
}

debug log:

solving b91c0bdcd4 ...
found b91c0bdcd4 in https://yhetil.org/guix-bugs/87k0uy6um8.fsf@yucca/

applying [1/1] https://yhetil.org/guix-bugs/87k0uy6um8.fsf@yucca/
diff --git a/tests/common.sh b/tests/common.sh
new file mode 100644
index 0000000000..b91c0bdcd4

Checking patch tests/common.sh...
Applied patch tests/common.sh cleanly.

index at:
100644 b91c0bdcd4ca717cdb8aa90229af3c0f7bcc2e06	tests/common.sh

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).