1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

Fix previous network stream test

* test/lisp/net/network-stream-tests.el
(network-test--resolve-system-name): There's only one ipv6
localhost address.
This commit is contained in:
Lars Ingebrigtsen 2020-08-04 17:34:21 +02:00
parent 99e9bdcd41
commit 89dbd0838b

View file

@ -142,8 +142,8 @@
;; IPv4 localhost addresses start with 127.
(= (elt address 0) 127))
(and (= (length address) 9)
;; IPv6 localhost addresses start with 0.
(= (elt address 0) 0)))
;; IPv6 localhost address.
(equal address [0 0 0 0 0 0 0 1 0])))
return t))
(ert-deftest echo-server-with-dns ()