Török Edvin
5f71301659
daily.ftm not needed in unit_tests, should use the one in filetypes_int.h.
16 years ago
Török Edvin
5fedbe0a5d
properly remove old logfiles during make check.
...
git-svn: trunk@5019
16 years ago
Török Edvin
73ba72eb7d
Fix timeout/run-out-of-fd bug in unit-tests (bb #1412 )
...
git-svn: trunk@4841
17 years ago
Török Edvin
b82eea8de0
signals may not wake a poll(), so make sure thread wakes up (BB #1400 ).
...
git-svn: trunk@4816
17 years ago
Török Edvin
e114b109c4
fix use of uninitialized value.
...
add test for STREAM.
fix missing closing pragmas.
git-svn: trunk@4810
17 years ago
Török Edvin
fb6fe4f5d1
Introduce '$' in logg, it is active when logg_verbose=2, i.e. when Debug yes.
...
Fix leak reported by valgrind.
git-svn: trunk@4806
17 years ago
Török Edvin
456e31a3cb
fix typo.
...
add another stress test.
Don't leak file descriptors.
Fix IDSESSION delimiter handling.
git-svn: trunk@4800
17 years ago
Török Edvin
3e2b50465b
add some unit tests for the new clamd protocol
...
git-svn: trunk@4757
17 years ago
Török Edvin
004f8386ce
output "stream" instead of "fd[]" for INSTREAM.
...
Add INSTREAM command test.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4753 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
d66eff0ace
initial version of clamd proto tests
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4752 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
97ff73f97a
add some minimal tests for new clamd/clamdscan features
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/clamd-proto@4747 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
6a7914299f
fix some options
...
git-svn: trunk@4582
17 years ago
Török Edvin
400decda4d
run reload test twice
...
git-svn: trunk@4436
17 years ago
Török Edvin
d7f43f9fce
the 2nd clamd process might already be gone, wait returns 127.
...
This fixed a silent make check failure on NetBSD.
git-svn: trunk@4279
17 years ago
Török Edvin
133dd2e940
When RAR is disabled, allow make check to succeed, and print only a warning (bb #1212 )
...
* ChangeLog:
git-svn: trunk@4233
17 years ago
Török Edvin
eb0e3c98bb
some more portabiility fixes
...
git-svn: trunk@4195
17 years ago
Török Edvin
650ea26e62
portability fixes
...
git-svn: trunk@4194
17 years ago
Török Edvin
e791981b01
add missing die statements
...
git-svn: trunk@4188
17 years ago
Török Edvin
fef2b55de6
use clamdscan to relod instead of netcat
...
git-svn: trunk@4187
17 years ago
Török Edvin
1642ffba29
fix some races in check_clamd.sh
...
add more valgrind suppressions
better log parsing for valgrind
add mutex to prevent multiple simultaneous forks (bb #1187 )
git-svn: trunk@4182
17 years ago
Török Edvin
f45111e58f
use abs_scrdir
...
run clamd tests in parallel by using a different test subdir for each
git-svn: trunk@4181
17 years ago
Török Edvin
e9e40c70bc
some parallelization of unit tests
...
git-svn: trunk@4179
17 years ago
Török Edvin
346f7a4ec7
start only 2 clamd instances for the unit test,
...
and use it to test multiple features.
Add better RELOAD test.
git-svn: trunk@4178
17 years ago
Török Edvin
73aeb57efe
add a script to contrib that builds clamav with mudflap and other checks (bb #1092 )
...
fix ac_cv usage in m4/acinclude.m4
fixes for unit_tests/
git-svn: trunk@4177
17 years ago
Török Edvin
c82d362edc
add electric-fence/duma tests if available (bb #1092 )
...
git-svn: trunk@4176
17 years ago
Török Edvin
b8edbb880d
clamd/thrmgr.c: fix valgrind warning (bb #1184 )
...
unit_tests: add more valgrind tests, add a reload and a multiscan test (bb #1092 )
git-svn: trunk@4175
17 years ago
aCaB
1367e121cf
make unit_tests/check_clamd.sh bourne compatible
...
git-svn: trunk@4119
17 years ago
Török Edvin
073a33e1c8
cygwin fixes (bb #1139 )
...
git-svn: trunk@4118
17 years ago
aCaB
5ef337bf31
wait without spamming
...
git-svn: trunk@4100
17 years ago
aCaB
caebe685eb
killwait clamd
...
git-svn: trunk@4099
17 years ago
Török Edvin
30a893af13
missed one
...
git-svn: trunk@4083
17 years ago
Török Edvin
ab9813e762
typo
...
git-svn: trunk@4082
17 years ago
Török Edvin
b4965c4861
fix typo
...
portability fix for clamd_fdscan
git-svn: trunk@4081
17 years ago
Török Edvin
c1a133a07b
add file descriptor passing support to clamdscan (from contrib/clamd_fdscan)
...
git-svn: trunk@4080
17 years ago
Török Edvin
dfc0c031cb
if there is a version.h.static use that instead of output from svnversion
...
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112 )
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes
git-svn: trunk@4078
17 years ago
Török Edvin
b6927a7c77
fix 'make distcheck':
...
add missing files to EXTRA_DIST, SOURCES
update CLEANFILES
.conf files and .cvd files are not removed during uninstall on purpose =>
whitelist them in distuninstallcheck
git-svn: trunk@4040
17 years ago
Török Edvin
7f0d1148d6
clamd, clamscan, libclamav: new option HeuristicScanPrecedence (bb #649 )
...
docs/: update docs for HeuristicScanPrecedence and ScanPartialMessages
unit_tests/: add test for HeuristicScanPrecedence
git-svn: trunk@4037
17 years ago
Török Edvin
8ee9a33349
fix wrong path
...
git-svn: trunk@4035
17 years ago
Török Edvin
751f84706b
avoid calling non-async-signal-safe functions between fork()
...
and exec() (bb #889 )
unit_tests: add unit-test for virusaction
git-svn: trunk@4034
17 years ago
Török Edvin
2a75d710e0
fix bashism in script
...
git-svn: trunk@3954
17 years ago
Török Edvin
53ffc6c781
fix clamd test config.
...
unit tests succeed now.
git-svn: trunk@3937
17 years ago
Török Edvin
232c4b7016
add unit tests for binaries
...
enable unit tests by default (if check is available)
add --enable-coverage to run gcov/lcov
add --enable-tests-install to install test files
git-svn: trunk@3935
17 years ago