From 2a53e2464bfa1a831f544ed44d3690e5c22259a5 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 6 May 2020 15:19:24 +0100 Subject: testcases for value return --- test/scripts/0000-Basic/0624 | 69 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 test/scripts/0000-Basic/0624 (limited to 'test/scripts/0000-Basic') diff --git a/test/scripts/0000-Basic/0624 b/test/scripts/0000-Basic/0624 new file mode 100644 index 000000000..d4e5acbbc --- /dev/null +++ b/test/scripts/0000-Basic/0624 @@ -0,0 +1,69 @@ +# domainlist match values +# +exim -bs -DOPT=: +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +exim -bs '-DOPT=notthis : plainstring.ex : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +exim -bs '-DOPT=notthis : *tail.ex : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +exim -bs '-DOPT=notthis : ^.*regex : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +exim -bs '-DOPT=notthis : @ : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# +exim -bs '-DOPT=notthis : @[] : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# malformed +exim -bs '-DOPT=notthis : @[] : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# malformed +exim -bs '-DOPT=notthis : @[] : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# +# +exim -bs '-DOPT=notthis : @mx_any/ignore=1.1.1.1 : nothiseither' +HELO test +MAIL FROM: +RCPT TO: +QUIT +**** +# -- cgit v1.2.3