Skip Menu |

This queue is for tickets about the File-Scan-ClamAV CPAN distribution.

Report information
The Basics
Id: 132387
Status: new
Priority: 0/
Queue: File-Scan-ClamAV

People
Owner: Nobody in particular
Requestors: jlbrown [...] bordo.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Test 4 and 5 failing, version 1.95
Date: Mon, 20 Apr 2020 17:10:53 +1000
To: bug-File-Scan-ClamAV [...] rt.cpan.org
From: James Brown <jlbrown [...] bordo.com.au>
Updated OS to macOS 10.15.4 Supplemental Update. Updated Perl from 5.30.1 to 5.30.2. Tried to reinstall File::Scan::ClamAV but test failed with: t/01ping.t ........ Can't execute clamd, trying again with CLAMD_PATH environment path... Bailout called. Further testing stopped: Failed to configure local clamd: Failed to execute: `/usr/local/sbinclamd -V`. Are your paths set up? Are you root? FAILED--Further testing stopped: Failed to configure local clamd: Failed to execute: `/usr/local/sbinclamd -V`. Are your paths set up? Are you root? So changed all the references from: /usr/local/sbin To: /usr/local/sbin/ And now get further. I’m now getting: % sudo make test Skip blib/lib/File/Scan/ClamAV.pm (unchanged) Skip blib/lib/File/.DS_Store (unchanged) Skip blib/lib/.DS_Store (unchanged) PERL_DL_NONLAZY=1 CLAMD_PATH=/usr/local/sbin/ "/usr/local/Cellar/perl/5.30.2_1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00basic.t ....... ok t/01ping.t ........ Can't execute clamd, trying again with CLAMD_PATH environment path... Success: `/usr/local/sbin/clamd -V` t/01ping.t ........ ok t/02reload.t ...... Can't execute clamd, trying again with CLAMD_PATH environment path... Success: `/usr/local/sbin/clamd -V` t/02reload.t ...... ok t/03quit.t ........ Can't execute clamd, trying again with CLAMD_PATH environment path... Success: `/usr/local/sbin/clamd -V` t/03quit.t ........ ok t/04scan.t ........ Can't execute clamd, trying again with CLAMD_PATH environment path... Success: `/usr/local/sbin/clamd -V` t/04scan.t ........ 1/8 # Failed test 'Didn't detect /Users/jlbrown/Downloads/File-Scan-ClamAV-1.95/testfiles/clamavtest.zip' # at t/04scan.t line 37. # Failed test 'Didn't detect /Users/jlbrown/Downloads/File-Scan-ClamAV-1.95/testfiles/clamavtest.gz' # at t/04scan.t line 38. # Looks like you failed 2 tests of 8. t/04scan.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/8 subtests t/05streamscan.t .. Can't execute clamd, trying again with CLAMD_PATH environment path... Success: `/usr/local/sbin/clamd -V` t/05streamscan.t .. 1/7 # Failed test 'Match correct sig' # at t/05streamscan.t line 43. # got: '{HEX}EICAR.TEST.3.UNOFFICIAL' # expected: 'Eicar-Test-Signature' # Looks like you failed 1 test of 7. t/05streamscan.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests t/pod-coverage.t .. ok t/pod.t ........... ok Test Summary Report ------------------- t/04scan.t (Wstat: 512 Tests: 8 Failed: 2) Failed tests: 5-6 Non-zero exit status: 2 t/05streamscan.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 6 Non-zero exit status: 1 Files=8, Tests=38, 96 wallclock secs ( 0.03 usr 0.02 sys + 87.59 cusr 4.51 csys = 92.15 CPU) Result: FAIL Failed 2/8 test programs. 3/38 subtests failed. make: *** [test_dynamic] Error 255 The clamavtest.zip and clamdavtest.gz files are there, so why would it not detect them? Also, any idea why the stream test would pick up the Unofficial sig? This used to work before. Any help would be much appreciated. Thanks, James.

Message body is not shown because it is too large.

Download smime.p7s
application/x-pkcs7-signature 4.5k

Message body not shown because it is not plain text.