From 0f0c8159c43045f4ad847a0129dca7eddd313285 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 28 Dec 2014 17:16:54 +0000 Subject: Support timeout option on malware= --- test/paniclog/4002 | 3 +++ test/paniclog/4003 | 2 ++ test/paniclog/4004 | 2 ++ test/paniclog/4005 | 2 ++ test/paniclog/4006 | 5 +++-- test/paniclog/4007 | 2 ++ 6 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 test/paniclog/4003 create mode 100644 test/paniclog/4007 (limited to 'test/paniclog') diff --git a/test/paniclog/4002 b/test/paniclog/4002 index 0fd411cb6..8d6b6f1c4 100644 --- a/test/paniclog/4002 +++ b/test/paniclog/4002 @@ -1 +1,4 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: aveserver: unable to scan file TESTSUITE/spool/scan/10HmaX-0005vi-00/10HmaX-0005vi-00.eml (Responded: 5xx defer). +1999-03-02 09:44:33 10HmaY-0005vi-00 malware acl condition: aveserver: unavailable (Responded: nothing). +1999-03-02 09:44:33 10HmaZ-0005vi-00 malware acl condition: aveserver: unavailable (Responded: nothing). +1999-03-02 09:44:33 10HmbA-0005vi-00 malware acl condition: aveserver: unable to scan file TESTSUITE/spool/scan/10HmbA-0005vi-00/10HmbA-0005vi-00.eml (Responded: 5xx defer). diff --git a/test/paniclog/4003 b/test/paniclog/4003 new file mode 100644 index 000000000..aff2aff3f --- /dev/null +++ b/test/paniclog/4003 @@ -0,0 +1,2 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: fsecure: unable to read answer 0 (Connection timed out) +1999-03-02 09:44:33 10HmaY-0005vi-00 malware acl condition: fsecure: unable to read answer 0 (Connection timed out) diff --git a/test/paniclog/4004 b/test/paniclog/4004 index 1b8d84454..3a5b4eceb 100644 --- a/test/paniclog/4004 +++ b/test/paniclog/4004 @@ -1 +1,3 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: sophie: scanner reported error +1999-03-02 09:44:33 10HmaY-0005vi-00 malware acl condition: sophie: unable to read from UNIX socket (TESTSUITE/eximdir/sophie_sock) +1999-03-02 09:44:33 10HmaZ-0005vi-00 malware acl condition: sophie: unable to read from UNIX socket (TESTSUITE/eximdir/sophie_sock) diff --git a/test/paniclog/4005 b/test/paniclog/4005 index 12b19bc57..dbaf01e3a 100644 --- a/test/paniclog/4005 +++ b/test/paniclog/4005 @@ -1 +1,3 @@ 1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: clamd: ClamAV returned: scanned_file_name: 666 ERROR +1999-03-02 09:44:33 10HmaY-0005vi-00 malware acl condition: clamd: unable to read from socket (Connection timed out) +1999-03-02 09:44:33 10HmaZ-0005vi-00 malware acl condition: clamd: unable to read from socket (Connection timed out) diff --git a/test/paniclog/4006 b/test/paniclog/4006 index 24ab94808..19caa79fe 100644 --- a/test/paniclog/4006 +++ b/test/paniclog/4006 @@ -1,2 +1,3 @@ -1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: avast: invalid response from scanner: blah [E] - +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: avast: invalid response from scanner: 'blah [E]' +1999-03-02 09:44:33 10HmaY-0005vi-00 malware acl condition: avast: timeout from scanner +1999-03-02 09:44:33 10HmaZ-0005vi-00 malware acl condition: avast: timeout from scanner diff --git a/test/paniclog/4007 b/test/paniclog/4007 new file mode 100644 index 000000000..156815be5 --- /dev/null +++ b/test/paniclog/4007 @@ -0,0 +1,2 @@ +1999-03-02 09:44:33 10HmaX-0005vi-00 malware acl condition: cmdline: unable to read from scanner (TESTSUITE/aux-fixed/4007.script -o pause3 TESTSUITE/spool/scan/10HmaX-0005vi-00 2>&1): Connection timed out +1999-03-02 09:44:33 10HmaY-0005vi-00 malware acl condition: cmdline: unable to read from scanner (TESTSUITE/aux-fixed/4007.script -o pause3 TESTSUITE/spool/scan/10HmaY-0005vi-00 2>&1): Connection timed out -- cgit v1.2.3