summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/db-file.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2021-02-22 15:05:48 +0100
committerRobert Pluim <rpluim@gmail.com>2021-02-22 15:48:06 +0100
commita728135a2b551917588425d9758c6cc932cb591b (patch)
treecf11a5ab7bf0b893767d6ceeb41974363efc0729 /lisp/cedet/semantic/db-file.el
parent934dcc21572e3f0e5357d84050e04b23d41a18f9 (diff)
downloademacs-a728135a2b551917588425d9758c6cc932cb591b.tar.gz
emacs-a728135a2b551917588425d9758c6cc932cb591b.tar.bz2
emacs-a728135a2b551917588425d9758c6cc932cb591b.zip
Skip tests that require Internet when there's no Internet
Bug#46641 The network-stream-tests actually work fine when the local machine has no IP at all, but cause a crash in the GnuTLS library when there is an IP configured but the interface is down. * test/lisp/net/network-stream-tests.el (internet-is-working): New defvar, checks if we can resolve "google.com". (connect-to-tls-ipv4-nowait, connect-to-tls-ipv6-nowait) (open-network-stream-tls-nowait, open-gnutls-stream-new-api-nowait) (open-gnutls-stream-old-api-nowait): Use it to check for working Internet access. * test/src/process-tests.el (internet-is-working): New defvar, checks if we can resolve "google.com". (lookup-family-specification, lookup-unicode-domains) (unibyte-domain-name, lookup-google, non-existent-lookup-failure): Use it to check for working Internet access.
Diffstat (limited to 'lisp/cedet/semantic/db-file.el')
0 files changed, 0 insertions, 0 deletions