summaryrefslogtreecommitdiff
path: root/test/confs
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-02-06 19:58:36 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-02-06 19:58:36 +0000
commit78ca7fd5bf7ce54246738dddeb320ae83ceb2396 (patch)
treef2ed05632072bcc0f026ba8c1c09200fb450990c /test/confs
parenta04185284e815e6e94613da045da770e562fce28 (diff)
Testsuite: avoid assuming 127.0.0.2 is a viable sending address
Diffstat (limited to 'test/confs')
-rw-r--r--test/confs/06033
-rw-r--r--test/confs/06043
-rw-r--r--test/confs/06102
3 files changed, 5 insertions, 3 deletions
diff --git a/test/confs/0603 b/test/confs/0603
index 76bd41c55..7709de246 100644
--- a/test/confs/0603
+++ b/test/confs/0603
@@ -49,7 +49,8 @@ send_to_server:
allow_localhost
hosts = 127.0.0.1
port = PORT_D
- interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{127.0.0.2}}
+ # assumes that HOSTIPV4 can send to 127.0.0.1
+ interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
# ----- Retry -----
diff --git a/test/confs/0604 b/test/confs/0604
index 6dcfba358..3766c3300 100644
--- a/test/confs/0604
+++ b/test/confs/0604
@@ -48,7 +48,8 @@ send_to_server:
allow_localhost
hosts = 127.0.0.1
port = PORT_D
- interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{127.0.0.2}}
+ # assumes that HOSTIPV4 can sent to 127.0.0.1
+ interface = ${if eq {$sender_address_domain}{dustybelt.tld} {127.0.0.1}{HOSTIPV4}}
# ----- Retry -----
diff --git a/test/confs/0610 b/test/confs/0610
index a68b4ebee..23c5b2cbd 100644
--- a/test/confs/0610
+++ b/test/confs/0610
@@ -54,7 +54,7 @@ t2:
allow_localhost
hosts = 127.0.0.1
port = PORT_D
- interface = 127.0.0.2
+ interface = HOSTIPV4
# ----- Retry -----