diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-21 23:44:06 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2016-08-22 15:23:37 +0100 |
commit | fbbd45ff5ade30d38ca60ea5aeccc305501c9174 (patch) | |
tree | 17be713e07ab77592e8ea44a670ec24da5a6c47f /test/scripts | |
parent | 6acd9fcf8454b0a18065bcd6ee865c5ddc82e44d (diff) |
Add automatic macros for compile-time feature options
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0230 | 4 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0290 | 6 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0465 | 4 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0551 | 2 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0557 | 10 | ||||
-rw-r--r-- | test/scripts/2000-GnuTLS/2090 | 2 | ||||
-rw-r--r-- | test/scripts/2000-GnuTLS/2091 | 2 | ||||
-rw-r--r-- | test/scripts/2100-OpenSSL/2190 | 2 | ||||
-rw-r--r--[l---------] | test/scripts/2100-OpenSSL/2191 | 9 | ||||
-rw-r--r-- | test/scripts/3400-plaintext/3414 | 4 | ||||
-rw-r--r-- | test/scripts/5600-OCSP-OpenSSL/5600 | 8 | ||||
-rw-r--r-- | test/scripts/5600-OCSP-OpenSSL/5601 | 10 | ||||
-rw-r--r-- | test/scripts/5740-OCSP-OpenSSL-events/5740 | 10 |
13 files changed, 40 insertions, 33 deletions
diff --git a/test/scripts/0000-Basic/0230 b/test/scripts/0000-Basic/0230 index b62e31355..92ef10c51 100644 --- a/test/scripts/0000-Basic/0230 +++ b/test/scripts/0000-Basic/0230 @@ -67,7 +67,7 @@ quit # exim -DSERVER=server -bd -oX PORT_D **** -sudo exim -DRT -bs -oMa V4NET.9.8.7.1225 +sudo exim -DOPT -bs -oMa V4NET.9.8.7.1225 mail from:<x@y.x> rcpt to:<x@test.ex> data @@ -75,7 +75,7 @@ this is a message . quit **** -exim -DRT -odi -qf +exim -DOPT -odi -qf **** # # diff --git a/test/scripts/0000-Basic/0290 b/test/scripts/0000-Basic/0290 index f2d69e1d0..f4b63aa8e 100644 --- a/test/scripts/0000-Basic/0290 +++ b/test/scripts/0000-Basic/0290 @@ -1,11 +1,11 @@ # .include and macro tests exim -bP local_interfaces message_size_limit recipients_max remote_sort_domains receive_timeout **** -exim -DRT= -bP receive_timeout +exim -DOPT= -bP receive_timeout **** -exim -DRT -bP receive_timeout +exim -DOPT -bP receive_timeout **** -exim '-D RT = receive_timeout = 4s ' -bP receive_timeout +exim '-D OPT = receive_timeout = 4s ' -bP receive_timeout **** 1 exim -DINC='.include non/absolute' -bP receive_timeout diff --git a/test/scripts/0000-Basic/0465 b/test/scripts/0000-Basic/0465 index 03abe164f..de8b6cbdf 100644 --- a/test/scripts/0000-Basic/0465 +++ b/test/scripts/0000-Basic/0465 @@ -7,7 +7,7 @@ quit 1 exim -f abc@somewhere. xxx **** -exim -DSTD=strip_trailing_dot -d -bs +exim -DOPT=strip_trailing_dot -d -bs mail from:<> rcpt to:<abc@domain.> data @@ -15,7 +15,7 @@ To: abc@domain. . quit **** -exim -DSTD=strip_trailing_dot -f abc@somewhere. xxx@yyy. +exim -DOPT=strip_trailing_dot -f abc@somewhere. xxx@yyy. **** exim -d -bs mail from:<> diff --git a/test/scripts/0000-Basic/0551 b/test/scripts/0000-Basic/0551 index afd5c9b05..d11064c00 100644 --- a/test/scripts/0000-Basic/0551 +++ b/test/scripts/0000-Basic/0551 @@ -6,7 +6,7 @@ Message 1 exim -odi userx@test.ex userz@test.ex Message 2 **** -exim -DLS= -odi userx@test.ex +exim -DLOG_SELECTOR= -odi userx@test.ex Message 3 **** exigrep userx diff --git a/test/scripts/0000-Basic/0557 b/test/scripts/0000-Basic/0557 index 8e05b4719..02ab466d2 100644 --- a/test/scripts/0000-Basic/0557 +++ b/test/scripts/0000-Basic/0557 @@ -1,16 +1,16 @@ # host_find_failed=ignore 1 -exim -DX=# -DY=# -bt userx@test.ex +exim -DFAKE=# -DOPT=# -bt userx@test.ex **** 1 -exim -DY=# -DHOSTS=a.non.exist -bt userx@test.ex +exim -DOPT=# -DHOSTS=a.non.exist -bt userx@test.ex **** 1 -exim -DY=# -DHOSTS=a.non.exist:b.non.exist -bt userx@test.ex +exim -DOPT=# -DHOSTS=a.non.exist:b.non.exist -bt userx@test.ex **** -exim -DY=# -DHOSTS=a.non.exist:127.0.0.1 -bt userx@test.ex +exim -DOPT=# -DHOSTS=a.non.exist:127.0.0.1 -bt userx@test.ex **** -exim -DY=# -DHOSTS=127.0.0.1:b.non.exist:127.0.0.2 -bt userx@test.ex +exim -DOPT=# -DHOSTS=127.0.0.1:b.non.exist:127.0.0.2 -bt userx@test.ex **** 1 exim -DHOSTS=a.non.exist -DHAI=defer -bt userx@test.ex diff --git a/test/scripts/2000-GnuTLS/2090 b/test/scripts/2000-GnuTLS/2090 index 55dc1fae9..278f03429 100644 --- a/test/scripts/2000-GnuTLS/2090 +++ b/test/scripts/2000-GnuTLS/2090 @@ -1,6 +1,6 @@ # TLS server, CHUNKING reception gnutls -exim -DSERVER=server -DY=tls -bd -oX PORT_D +exim -DSERVER=server -DSRV=tls -bd -oX PORT_D **** # # non-piplined diff --git a/test/scripts/2000-GnuTLS/2091 b/test/scripts/2000-GnuTLS/2091 index aa7b26058..d20f8076c 100644 --- a/test/scripts/2000-GnuTLS/2091 +++ b/test/scripts/2000-GnuTLS/2091 @@ -1,6 +1,6 @@ # TLS client, CHUNKING transmission gnutls -exim -DSERVER=server -DY=tls -bd -oX PORT_S +exim -DSERVER=server -DSRV=tls -bd -oX PORT_S **** exim -odf CALLER@test.ex Test message. Contains FF: ÿ diff --git a/test/scripts/2100-OpenSSL/2190 b/test/scripts/2100-OpenSSL/2190 index 708a36e71..54095d49a 100644 --- a/test/scripts/2100-OpenSSL/2190 +++ b/test/scripts/2100-OpenSSL/2190 @@ -1,5 +1,5 @@ # TLS server, CHUNKING reception -exim -DSERVER=server -DY=tls -bd -oX PORT_D +exim -DSERVER=server -DSRV=tls -bd -oX PORT_D **** # # non-piplined diff --git a/test/scripts/2100-OpenSSL/2191 b/test/scripts/2100-OpenSSL/2191 index 825b021c3..6c1810416 120000..100644 --- a/test/scripts/2100-OpenSSL/2191 +++ b/test/scripts/2100-OpenSSL/2191 @@ -1 +1,8 @@ -../2000-GnuTLS/2091
\ No newline at end of file +# TLS client, CHUNKING transmission +exim -DSERVER=server -DSRV=tls -bd -oX PORT_S +**** +exim -odf CALLER@test.ex +Test message. Contains FF: ÿ +**** +killdaemon +no_msglog_check diff --git a/test/scripts/3400-plaintext/3414 b/test/scripts/3400-plaintext/3414 index 37528f2ea..edd3a011f 100644 --- a/test/scripts/3400-plaintext/3414 +++ b/test/scripts/3400-plaintext/3414 @@ -1,5 +1,5 @@ # control of AUTH= on MAIL by ACL -exim -DS=# -bs +exim -DOPT=# -bs ehlo xxxx mail from:<a@b> auth=c@d quit @@ -15,7 +15,7 @@ mail from:<a@b> auth=c@d quit **** # No acl_smtp_mailauth, but authenticated -exim -DS=# -bs +exim -DOPT=# -bs ehlo xxxx auth plain abcd mail from:<a@b> auth=c@d diff --git a/test/scripts/5600-OCSP-OpenSSL/5600 b/test/scripts/5600-OCSP-OpenSSL/5600 index aa3e3fb19..72fa478e3 100644 --- a/test/scripts/5600-OCSP-OpenSSL/5600 +++ b/test/scripts/5600-OCSP-OpenSSL/5600 @@ -5,7 +5,7 @@ # '1: Server sends good staple on request' # exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp **** client-ssl \ -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \ @@ -34,7 +34,7 @@ killdaemon # '2: Server does not staple an outdated response' # exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp **** # XXX test sequence might not be quite right; this is for a server refusal # and we're expecting a client refusal. @@ -59,7 +59,7 @@ killdaemon # '3: Server does not staple a response for a revoked cert' # exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp **** client-ssl \ -ocsp aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \ @@ -84,7 +84,7 @@ killdaemon # '4: Connection functions when server is prepared to staple but client does not request it' # exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp **** # client-ssl \ diff --git a/test/scripts/5600-OCSP-OpenSSL/5601 b/test/scripts/5600-OCSP-OpenSSL/5601 index 4bdf696c2..ddcdeed9b 100644 --- a/test/scripts/5600-OCSP-OpenSSL/5601 +++ b/test/scripts/5600-OCSP-OpenSSL/5601 @@ -2,7 +2,7 @@ # # # Client works when we request but don't require OCSP stapling and none comes -exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null +exim -bd -oX PORT_D -DSERVER=server -DRETURN=/dev/null **** exim norequire@test.ex test message. @@ -15,7 +15,7 @@ killdaemon # # Client works when we don't request OCSP stapling exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp **** exim nostaple@test.ex test message. @@ -35,7 +35,7 @@ killdaemon # # # Client fails on lack of required stapled info -exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null +exim -bd -oX PORT_D -DSERVER=server -DRETURN=/dev/null **** exim CALLER@test.ex test message. @@ -48,7 +48,7 @@ sudo rm spool/db/retry # # Client fails on revoked stapled info EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp **** exim CALLER@test.ex test message. @@ -63,7 +63,7 @@ sudo rm spool/db/retry # # Client fails on expired stapled info EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp **** exim CALLER@test.ex test message. diff --git a/test/scripts/5740-OCSP-OpenSSL-events/5740 b/test/scripts/5740-OCSP-OpenSSL-events/5740 index 992027eb4..43c545afa 100644 --- a/test/scripts/5740-OCSP-OpenSSL-events/5740 +++ b/test/scripts/5740-OCSP-OpenSSL-events/5740 @@ -3,7 +3,7 @@ # # # Client works when we request but don't require OCSP stapling and none comes -exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null +exim -bd -oX PORT_D -DSERVER=server -DRETURN=/dev/null **** exim norequire@test.ex test message. @@ -16,7 +16,7 @@ killdaemon # # Client works when we request but don't require OCSP stapling and some arrives exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.good.resp **** exim norequire@test.ex test message. @@ -45,7 +45,7 @@ killdaemon # # # Client fails on lack of required stapled info -exim -bd -oX PORT_D -DSERVER=server -DOCSP=/dev/null +exim -bd -oX PORT_D -DSERVER=server -DRETURN=/dev/null **** exim failrequire@test.ex test message. @@ -59,7 +59,7 @@ sudo rm -f DIR/spool/db/retry # # Client fails on revoked stapled info EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.revoked.resp **** exim failrevoked@test.ex test message. @@ -73,7 +73,7 @@ sudo rm -f DIR/spool/db/retry # # Client fails on expired stapled info EXIM_TESTHARNESS_DISABLE_OCSPVALIDITYCHECK=y exim -bd -oX PORT_D -DSERVER=server \ - -DOCSP=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp + -DRETURN=DIR/aux-fixed/exim-ca/example.com/server1.example.com/server1.example.com.ocsp.dated.resp **** exim failexpired@test.ex test message. |