Commit graph

67 commits

Author SHA1 Message Date
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
2008-08-04 10:38:24 +00:00
aCaB
5e07cfed01 unit tests for uniq
git-svn: trunk@4074
2008-08-04 00:01:14 +00:00
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
2008-08-03 21:52:11 +00:00
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
2008-07-29 17:19:07 +00:00
Török Edvin
a497dce52d fix compiler warnings
constify


git-svn: trunk@4019
2008-07-29 10:59:21 +00:00
Török Edvin
9ee053feab handle multiple matches (bb #1110)
update tests for regex, reenable test 


git-svn: trunk@4018
2008-07-29 10:36:26 +00:00
aCaB
c92b0057f7 test_disasm
git-svn: trunk@4009
2008-07-28 19:22:15 +00:00
Török Edvin
3dcc2d784e more tests for regex
run unit-tests under valgrind if available.


git-svn: trunk@3990
2008-07-25 16:03:04 +00:00
Török Edvin
5ee56e4103 split up regex_list.
begin testing for regex_suffix


git-svn: trunk@3985
2008-07-24 18:48:31 +00:00
Török Edvin
ea5c80854b fix compiler warnings
restore cli_debug state after test


git-svn: trunk@3959
2008-07-16 10:40:03 +00:00
Török Edvin
377a2330a1 more unit tests for js-norm
fix js-norm bugs discovered during unit testing


git-svn: trunk@3951
2008-07-15 14:31:33 +00:00
Török Edvin
a39b29cbfe avoid misleading message when unit tests are disabled (bb #1090)
fix some compiler warnings


git-svn: trunk@3933
2008-07-10 13:29:32 +00:00
Török Edvin
eb2901515b move cli_unescape, and cli_textbuffer_append_normalize to str.c
add unit-test for cli_textbuffer_append_normalize
fix a bug in cli_textbuffer_append_normalize shown by unit-test


git-svn: trunk@3930
2008-07-10 10:29:29 +00:00
Török Edvin
4a6ade4489 add all needed files to EXTRA_DIST (to fix make distcheck)
create unit tests for js normalizer
cleanups


git-svn: trunk@3924
2008-07-08 19:02:15 +00:00
Török Edvin
2565ef493a fix attribute packed handling.
Add testcase for readint16


git-svn: trunk@3768
2008-04-07 14:42:05 +00:00
Török Edvin
c47e43ce35 testcase for bb #890.
It fails on gcc-4.3 -O3 (-msse2) currently.


git-svn: trunk@3764
2008-04-07 13:43:16 +00:00
Tomasz Kojm
fe473bcb07 add initial support for unit tests
git-svn: trunk@3710
2008-03-13 10:44:34 +00:00