[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 95e218a: Use 127.0.0.1 in nsm-tests
From: |
Robert Pluim |
Subject: |
master 95e218a: Use 127.0.0.1 in nsm-tests |
Date: |
Tue, 26 Nov 2019 13:27:52 -0500 (EST) |
branch: master
commit 95e218af145d843750c9f05ae7682230a36044a6
Author: Robert Pluim <address@hidden>
Commit: Robert Pluim <address@hidden>
Use 127.0.0.1 in nsm-tests
Winsock doesn't like "127.1"
* test/lisp/net/nsm-tests.el (nsm-check-local-subnet-ipv4): Spell
numeric localhost as "127.0.0.1" instead of "127.1".
---
test/lisp/net/nsm-tests.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/lisp/net/nsm-tests.el b/test/lisp/net/nsm-tests.el
index bf6ac04..f354437 100644
--- a/test/lisp/net/nsm-tests.el
+++ b/test/lisp/net/nsm-tests.el
@@ -42,11 +42,11 @@
(should-error (nsm-network-same-subnet local-ip wrong-length-mask
remote-ip-yes))
(should (eq nil (nsm-network-same-subnet local-ip wrong-mask
remote-ip-yes)))
(should (eq t (nsm-should-check "google.com")))
- (should (eq t (nsm-should-check "127.1")))
+ (should (eq t (nsm-should-check "127.0.0.1")))
(should (eq t (nsm-should-check "localhost")))
(let ((nsm-trust-local-network t))
(should (eq t (nsm-should-check "google.com")))
- (should (eq nil (nsm-should-check "127.1")))
+ (should (eq nil (nsm-should-check "127.0.0.1")))
(should (eq nil (nsm-should-check "localhost"))))))
;; FIXME This will never return true, since
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 95e218a: Use 127.0.0.1 in nsm-tests,
Robert Pluim <=