[clamav-users] ClamAV® blog: ClamAV 0.104.0 Release Candidate is here!
Mark Fortescue
mark.lists at thurning-instruments.co.uk
Mon Jul 26 11:41:37 UTC 2021
Hi Andrew,
My reading of this small section of the log is that the tests failed
because the response was not as expected:
'Wrong reply for command'
The error seems to be due to the use of a symlink /home/frans/tw/data to
/mnt/data/fdb-data.
The tests scripts need to do more work if they are to work properly in
the presence of symlinks.
It should be reported as a test suite bug.
Regards
Mark.
On 26/07/2021 09:43, Andrew C Aitchison via clamav-users wrote:
> 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.
>
More information about the clamav-users
mailing list