clamav/unit_tests/check_unit_vg.sh
Török Edvin 95fc03dac7 Fix unit test script.
test_run always exits with 1 on success, so check its return code.
2010-03-24 16:46:21 +02:00

8 lines
233 B
Bash
Executable file

#!/bin/sh
. $srcdir/check_common.sh
init_valgrind
export CK_FORK=no WRAPPER="$VALGRIND $VALGRIND_FLAGS" CK_DEFAULT_TIMEOUT=40
if test_run 0 $TOP/unit_tests/check_clamav; then
echo "check_clamav failed to run" >&2
fi
end_valgrind