Steven Morgan
60671e3deb
bb11798 - fix unit tests.
9 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 years ago
Shawn Webb
60d8d2c352
Move all the crypto API to clamav.h
12 years ago
Shawn Webb
b2e7c931d0
Use OpenSSL for hashing.
12 years ago
Shawn Webb
e522909e19
bb6061
13 years ago
Török Edvin
b3c69e9236
More verbose error message in unit test.
16 years ago
Török Edvin
7d5e0e1e5a
Make error message more verbose.
16 years ago
Török Edvin
d659015bb6
Unit-tests need to call cl_init, otherwise mkdir can fail randomly.
16 years ago
Török Edvin
08402afa4c
fix more compiler warnings (bb #273 )
...
git-svn: trunk@4353
17 years ago
Török Edvin
563582a1ec
fix unit tests when mpool is activated
...
git-svn: trunk@4323
17 years ago
Török Edvin
d5d06eccaa
support building with older versions of check
...
git-svn: trunk@4289
17 years ago
Török Edvin
a66b62f88b
handle unfinishes string tokens in JS parser
...
git-svn: trunk@4247
17 years ago
Török Edvin
6a53bbdf9a
JS normalizer fixes (bb #1155 )
...
git-svn: trunk@4202
17 years ago
Török Edvin
1279faf61e
add htmlnorm unit tests and fix jsnorm space normalization
...
git-svn: trunk@4201
17 years ago
Török Edvin
85398f3ed8
fix overlapping arguments in disasm/debug (bb #1150 )
...
move copt out of main, so that valgrind is not reporting false leaks
make distcheck works now
git-svn: trunk@4193
17 years ago
Török Edvin
81040d73db
bb #1160
...
git-svn: trunk@4183
17 years ago
Török Edvin
15d67313c4
allow 'make check' to work even if check is not installed
...
by skipping checks that require it. (bb #1157 )
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.
git-svn: trunk@4172
18 years ago
Török Edvin
72733fbabb
fix infloop in jsnorm (bb #1146 )
...
add unit test for bb #1146
git-svn: trunk@4138
18 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
18 years ago
aCaB
61b295f494
spam if lcheck is too old
...
git-svn: trunk@4121
18 years ago
aCaB
99f74adcc1
check for check
...
git-svn: trunk@4098
18 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
18 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
18 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
18 years ago
Török Edvin
6ba8b9503c
lowercase JS parser output
...
git-svn: trunk@4057
18 years ago
Török Edvin
5ee56e4103
split up regex_list.
...
begin testing for regex_suffix
git-svn: trunk@3985
18 years ago
Török Edvin
ea5c80854b
fix compiler warnings
...
restore cli_debug state after test
git-svn: trunk@3959
18 years ago
Török Edvin
533e76aa5e
cleanup
...
some more unit tests
git-svn: trunk@3958
18 years ago
Török Edvin
377a2330a1
more unit tests for js-norm
...
fix js-norm bugs discovered during unit testing
git-svn: trunk@3951
18 years ago
Török Edvin
5be3029f8f
fix crash in js parser
...
fix configure test for check: if it is not available, and we didn't pass
--enable-check, do not complain
add unit test for jsnorm bug
git-svn: trunk@3949
18 years ago
Török Edvin
d5db8faf3b
useless code
...
git-svn: trunk@3938
18 years ago
Török Edvin
a39b29cbfe
avoid misleading message when unit tests are disabled (bb #1090 )
...
fix some compiler warnings
git-svn: trunk@3933
18 years ago
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
18 years ago
Török Edvin
37e6472959
more unit tests for js normalizer
...
git-svn: trunk@3925
18 years ago
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
18 years ago