summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-03-25 17:14:41 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2018-03-25 17:14:41 +0100
commit42fab76535e6e0aa7fc722cde1e24afc2c4cca1f (patch)
tree79c0abbfcd22cd9d9b3b81a38f73f4ce92c2d4cb /test/scripts
parent40394cc11a826278cef2e205313f9339ca90d16d (diff)
Testsuite: for SPF tests, avoid using the ipv4 address
Diffstat (limited to 'test/scripts')
-rw-r--r--test/scripts/4600-SPF/460014
-rw-r--r--test/scripts/4600-SPF/46016
2 files changed, 10 insertions, 10 deletions
diff --git a/test/scripts/4600-SPF/4600 b/test/scripts/4600-SPF/4600
index 825efb959..d24fa9d94 100644
--- a/test/scripts/4600-SPF/4600
+++ b/test/scripts/4600-SPF/4600
@@ -5,31 +5,31 @@
# to provide values for testcases.
#
# For now just check that what should be working syntax does not cause us to fall over.
-# Be careful with envelope-domains used for testcases, as real DNS lookups will be done.
+# Be careful with envelope-domains and IPs used for testcases, as real DNS lookups will be done.
#
-exim -bd -DSERVER=server -oX PORT_D
+exim -bd -DSERVER=server -oX PORT_D:PORT_S
****
-client HOSTIPV4 PORT_D
+client 127.0.0.1 PORT_D
??? 220
helo testclient
??? 250
mail from:<a@example.com>
??? 250
rcpt to:<fred@test.ex>
-??? 550
+??? 250
quit
****
-client HOSTIPV4 PORT_D
+client 127.0.0.1 PORT_D
??? 220
helo testclient
??? 250
mail from:<b@test.example.com>
??? 250
rcpt to:<fred@test.ex>
-??? 550
+??? 250
quit
****
-client 127.0.0.1 PORT_D
+client 127.0.0.1 PORT_S
??? 220
helo testclient
??? 250
diff --git a/test/scripts/4600-SPF/4601 b/test/scripts/4600-SPF/4601
index 096b64e24..ab434611c 100644
--- a/test/scripts/4600-SPF/4601
+++ b/test/scripts/4600-SPF/4601
@@ -7,9 +7,9 @@
# For now just check that what should be working syntax does not cause us to fall over.
# Be careful with envelope-domains used for testcases, as real DNS lookups will be done.
#
-exim -bd -DSERVER=server -oX PORT_D
+exim -bd -DSERVER=server -oX PORT_D:PORT_S
****
-client HOSTIPV4 PORT_D
+client 127.0.0.1 PORT_D
??? 220
helo testclient
??? 250
@@ -19,7 +19,7 @@ rcpt to:<fred@test.ex>
??? 250
quit
****
-client 127.0.0.1 PORT_D
+client 127.0.0.1 PORT_S
??? 220
helo testclient
??? 250