projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99e9bdc
)
Fix previous network stream test
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 4 Aug 2020 15:34:21 +0000
(17:34 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 4 Aug 2020 15:34:21 +0000
(17:34 +0200)
* test/lisp/net/network-stream-tests.el
(network-test--resolve-system-name): There's only one ipv6
localhost address.
test/lisp/net/network-stream-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/net/network-stream-tests.el
b/test/lisp/net/network-stream-tests.el
index f44682e1edb44a611be68060d28fa4f30b74eba2..cf416155e5026a255c9ea6638ed88b29481ef0af 100644
(file)
--- a/
test/lisp/net/network-stream-tests.el
+++ b/
test/lisp/net/network-stream-tests.el
@@
-142,8
+142,8
@@
;; IPv4 localhost addresses start with 127.
(= (elt address 0) 127))
(and (= (length address) 9)
- ;; IPv6 localhost address
es 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 ()