diff options
author | Robert Pluim <rpluim@gmail.com> | 2021-01-12 18:50:38 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2021-01-12 18:53:48 +0100 |
commit | 0f6c083251ccc727d0b18a62cdd99901aa692c78 (patch) | |
tree | a9fd5b578966b8478615d6a6ab9970c839b7c24c /test/lisp/emacs-lisp/unsafep-tests.el | |
parent | 6dc4fc7d621008086388dae48f6794f7d69edff9 (diff) | |
download | emacs-0f6c083251ccc727d0b18a62cdd99901aa692c78.tar.gz emacs-0f6c083251ccc727d0b18a62cdd99901aa692c78.tar.bz2 emacs-0f6c083251ccc727d0b18a62cdd99901aa692c78.zip |
Only run IPv6 tests if we have an IPv6 address
* test/src/process-tests.el (ipv6-is-available): New function for
checking whether we have a globally routable IPv6 prefix assigned.
(lookup-family-specification): Use 'ipv6-is-available' to check for
IPv6. Use 'localhost' instead of 'google.com' to test
'network-lookup-address-info' API.
(lookup-google): Use 'ipv6-is-available' to check for
IPv6.
* test/lisp/net/nsm-tests.el (nsm-ipv6-is-available): Rename to
'ipv6-is-available', make identical to the one in
test/src/process-tests.el.
Diffstat (limited to 'test/lisp/emacs-lisp/unsafep-tests.el')
0 files changed, 0 insertions, 0 deletions