aCaB
03f0f155fe
more disasm tests - coverage @91.5
...
git-svn: trunk@4148
17 years ago
aCaB
1df00864a6
add real disasm unit tests
...
git-svn: trunk@4147
17 years ago
Török Edvin
4a40b66cf0
replace AC_FUNC_MMAP: check only for MAP_PRIVATE and not MAP_FIXED (bb #1140 ) HP-UX: zlib in non-standard path, LIBS got set to -lz, but -L was missing, just restore LIBS and don't touch it
...
git-svn: trunk@4145
17 years ago
aCaB
cd7dec9246
disasm fixes
...
git-svn: trunk@4144
17 years ago
Török Edvin
72733fbabb
fix infloop in jsnorm (bb #1146 )
...
add unit test for bb #1146
git-svn: trunk@4138
17 years ago
Török Edvin
5cd3f734a9
add lots of warnings flags to 'make distcheck',
...
and turn some warnings into errors (bb #1092 )
git-svn: trunk@4129
17 years ago
aCaB
abbd1d3673
typo
...
git-svn: trunk@4122
17 years ago
aCaB
61b295f494
spam if lcheck is too old
...
git-svn: trunk@4121
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
aCaB
99f74adcc1
check for check
...
git-svn: trunk@4098
17 years ago
Tomasz Kojm
ec285505da
unit_tests/check_matchers.c: add tests for cli_(ac|bm)_scanbuff
...
git-svn: trunk@4091
17 years ago
aCaB
55144c4766
work around non reentrant lresolv
...
git-svn: trunk@4087
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
add738d28c
portability fixes
...
if there is a version.h.static use that instead of output from svnversion
use get_version(), tools outside libclamav shouldn't rely on libclamav version
exception: clamconf itself needs both, and the milter shows both
git-svn: trunk@4076
17 years ago
aCaB
5e07cfed01
unit tests for uniq
...
git-svn: trunk@4074
17 years ago
Török Edvin
04f9bedf4b
use SVN revision in version info
...
TODO: replace every remaining use of VERSION with cl_retver()
git-svn: trunk@4070
17 years ago
Török Edvin
e6f14011ef
fix crash in SO_search when len == 1
...
also skip matching too short strings (they won't match anyway)
git-svn: trunk@4067
17 years ago
Török Edvin
e2354bdb46
fix infloop in screnc detection code (introduced around SVN r3945).
...
generic safeguard against infinite loops due to state == next_state
add testcase
git-svn: trunk@4062
17 years ago
Török Edvin
fb6208fd12
fixes for bb #177 :
...
if all we have is a script in a html file still normalize it
keep global scope, we need it to parse variable names in the correct scope
git-svn: trunk@4058
17 years ago
Török Edvin
6ba8b9503c
lowercase JS parser output
...
git-svn: trunk@4057
17 years ago
Török Edvin
2e64bd9fc5
add test for cli_hex2str (bb #930 )
...
git-svn: trunk@4056
17 years ago
Török Edvin
1126559f77
flag for U: lines, format is one of:
...
U:MD5
U1:MD5
U2:MD5
add unit test for md5 url match
git-svn: trunk@4053
17 years ago
Török Edvin
1eb943f3fc
use automake for a basic check that the installed programs work.
...
currently only tests clamscan and sigtool
database: 0 sized .cvd files were still installed, because exit 0 didn't stop
the entire rule. fixed
git-svn: trunk@4042
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
2b9e5d2971
drop a redundant check from phishcheck.
...
enable debug output in unit tests, they are dumped to
unit_tests/test-stderr.log.
git-svn: trunk@4028
17 years ago
Török Edvin
888973ccc9
more tests
...
git-svn: trunk@4026
17 years ago
Török Edvin
503fb9702e
we need the other suppression for libc6-dbg
...
git-svn: trunk@4024
17 years ago
aCaB
9003d944d1
updated vlagrind supp
...
git-svn: trunk@4022
17 years ago
Török Edvin
a2d14e06b9
add more unit-tests
...
fix matching bugs in regex_list
git-svn: trunk@4020
17 years ago
Török Edvin
a497dce52d
fix compiler warnings
...
constify
git-svn: trunk@4019
17 years ago
Török Edvin
9ee053feab
handle multiple matches (bb #1110 )
...
update tests for regex, reenable test
git-svn: trunk@4018
17 years ago
aCaB
e82a6578fa
disasm checks
...
git-svn: trunk@4015
17 years ago
aCaB
9476b6ad2b
lcov works
...
git-svn: trunk@4012
17 years ago
aCaB
c92b0057f7
test_disasm
...
git-svn: trunk@4009
17 years ago
Török Edvin
acee0f956d
fix segfault in regex_list_done due to uninitialised value.
...
make valgrind testing script parse valgrind's output better
git-svn: trunk@3995
17 years ago
Török Edvin
10290ba3eb
allow custom data to be associated with patterns (such as a regex) via a void*
...
field.
Fix memory leaks, and valgrind problems in regex_list_done.
git-svn: trunk@3994
17 years ago
Török Edvin
5a622715ee
fix EXTRA_DIST
...
git-svn: trunk@3992
17 years ago
Török Edvin
81361c477a
skip valgrind tests for 'make lcov'
...
git-svn: trunk@3991
17 years ago
Török Edvin
3dcc2d784e
more tests for regex
...
run unit-tests under valgrind if available.
git-svn: trunk@3990
17 years ago
Török Edvin
82167b0a77
remove remaining CL_DEBUG, and add missing file
...
git-svn: trunk@3989
17 years ago