On Mon, 26 Jul 2021, Frans de Boer wrote:
Here's your problem:
8<----------------------------------------------------------------------
[DEBUG]: Exit code: 1
[DEBUG]: stdout: Running suite(s): clamd
90%: Checks: 77, Failures: 7, Errors: 0
/home/frans/tw/data/projects/linux/security/clamav/clamav-0.104.0-rc-org/unit_tests/check_clamd.c:303:F:clamd
commands:test_basic_commands:15: Wrong reply for command nSCAN
/home/frans/tw/data/projects/linux/security/clamav/cla
.
Received:
/mnt/data/fdb-data/projects/linux/security/clamav/clamav-build/unit_tests/accdenied:
Access denied. ERROR
Expected:
/home/frans/tw/data/projects/linux/security/clamav/clamav-build/unit_tests/accdenied:
Access denied. ERROR
/home/frans/tw/data/projects/linux/security/clamav/clamav-0.104.0-rc-org/unit_tests/check_clamd.c:303:F:clamd
commands:test_basic_commands:16: Wrong reply for command nCONTSCAN
/home/frans/tw/data/projects/linux/security/clamav
.
Received:
/mnt/data/fdb-data/projects/linux/security/clamav/clamav-build/unit_tests/accdenied:
Access denied. ERROR
Expected:
/home/frans/tw/data/projects/linux/security/clamav/clamav-build/unit_tests/accdenied:
Access denied. ERROR
8<----------------------------------------------------------------------
Are you doing something clever with mount paths, or has the test
script just not noticed?
Nope, nothing 'clever' and doing it already for 20+ years without problem.
The accdenied file does have the 'r' flag unset, so the error report is
correct.
No. IIUC the *test* failed not because the command failed,
but because the error message reported the wrong filename.
--
Andrew C. Aitchison Kendal, UK
and...@aitchison.me.uk
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml