Closed jesusjimsa closed 1 year ago
check_all
& tags
& restrict
& recursion_level
& report_changes
ignore
report_changes
& nodiff
All cases must be tested in scheduled, realtime and whodata except when otherwise stated. Again, no correctness is being tested, only memory.
check_all
& tags
& restrict
& recursion_level
& report_changes
<directories tags="example" restrict=".restricted$" recursion_level="4" report_changes="yes">/testdir1</directories>
ignore
<directories>/testdir1</directories>
<ignore type="sregex">.ignored$</ignore>
<directories>/testdir1</directories>
<directories follow_symbolic_link="yes">/testdir1/symbolic_link</directories>
<directories>/testdir1</directories>
report_changes
& nodiff
<directories report_changes="yes">/testdir1</directories>
<nodiff type="sregex">.nodiff$</nodiff>
Synchronization must also be performed in, at least, one case and database partition. For database partition, the test needs to create enough files.
Description
The test must execute Valgrind on the
ossec-syscheckd
executable to check that there are no memory leaks or segmentation faults. When running Valgrind, all the possible operations must be performed but the test doesn't have to check that these operations are performed correctly, only the memory is being tested. The goal is to test as much code as possible.This test is part of tier 2.
Valgrind output example
For the test to pass, Valgrind output should look like this:
Platforms