From a60f6c07eea74e79b88828295a191e79595d8960 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 21 Dec 2014 21:32:13 +0000 Subject: Testsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie & clamav There are running against scripts not the rea thing so only useful for spotting gross breakage. --- test/stdout/4001 | 43 ++++++++++++++++++++++++++++++++++++++ test/stdout/4002 | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ test/stdout/4003 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ test/stdout/4004 | 53 +++++++++++++++++++++++++++++++++++++++++++++++ test/stdout/4005 | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 267 insertions(+) create mode 100644 test/stdout/4001 create mode 100644 test/stdout/4002 create mode 100644 test/stdout/4003 create mode 100644 test/stdout/4004 create mode 100644 test/stdout/4005 (limited to 'test/stdout') diff --git a/test/stdout/4001 b/test/stdout/4001 new file mode 100644 index 000000000..2e84f9860 --- /dev/null +++ b/test/stdout/4001 @@ -0,0 +1,43 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaY-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on port 1224 ... +Connection request from [127.0.0.1] + +>*eof +End of script +Listening on port 1224 ... +Connection request from [127.0.0.1] + +> +> +> +>wibble +> +>*eof +End of script diff --git a/test/stdout/4002 b/test/stdout/4002 new file mode 100644 index 000000000..1987803c7 --- /dev/null +++ b/test/stdout/4002 @@ -0,0 +1,63 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaZ-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +451 Temporary local problem - please try later +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/aveserver_sock ... +Connection request +>200 ready +200 done +200 ready +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/aveserver_sock ... +Connection request +>2xx ready +5xx defer +2xx ready +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/aveserver_sock ... +Connection request +>2xx ready +322 VNAME found +>2xx ready +2xx ready +Expected EOF read from client +End of script diff --git a/test/stdout/4003 b/test/stdout/4003 new file mode 100644 index 000000000..e0241c121 --- /dev/null +++ b/test/stdout/4003 @@ -0,0 +1,55 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaY-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/fsec_sock ... +Connection request +ignored_response +ignored_response +ignored_response +ignored_response +LF>random ignored line +>LF>random ignored line 2 +>LF>OK Scan ok. +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/fsec_sock ... +Connection request +ignored_response +ignored_response +ignored_response +ignored_response +LF>xxxINFECTED blah VNAME blah +>LF>OK Scan ok. +Expected EOF read from client +End of script diff --git a/test/stdout/4004 b/test/stdout/4004 new file mode 100644 index 000000000..ceeb9e2a2 --- /dev/null +++ b/test/stdout/4004 @@ -0,0 +1,53 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaZ-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +451 Temporary local problem - please try later +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/sophie_sock ... +Connection request +0 no problems mate +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/sophie_sock ... +Connection request +-1 oops, internal error in scanner +Expected EOF read from client +End of script +Listening on TESTSUITE/eximdir/sophie_sock ... +Connection request +LF>1 VNAME +Expected EOF read from client +End of script diff --git a/test/stdout/4005 b/test/stdout/4005 new file mode 100644 index 000000000..7b7dbdcb6 --- /dev/null +++ b/test/stdout/4005 @@ -0,0 +1,53 @@ +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +250 OK id=10HmaZ-0005vi-00 +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +451 Temporary local problem - please try later +221 myhost.test.ex closing connection +220 myhost.test.ex ESMTP Exim x.yz Tue, 2 Mar 1999 09:44:33 +0000 +250-myhost.test.ex Hello CALLER at test.ex +250-SIZE 52428800 +250-8BITMIME +250-PIPELINING +250 HELP +250 OK +250 Accepted +354 Enter message, ending with "." on a line by itself +550 Administrative prohibition +221 myhost.test.ex closing connection + +******** SERVER ******** +Listening on TESTSUITE/eximdir/clam_sock ... +Connection request +LF>scanned_file_name: OK +Unexpected EOF read from client +End of script +Listening on TESTSUITE/eximdir/clam_sock ... +Connection request +LF>scanned_file_name: 666 ERROR +Unexpected EOF read from client +End of script +Listening on TESTSUITE/eximdir/clam_sock ... +Connection request +LF>scanned_file_name: VNAME FOUND +Unexpected EOF read from client +End of script -- cgit v1.2.3