Török Edvin
02157f0821
suppress valgrind warnings for old libc.
...
The warning is in __strcpy_chk, but I don't want to suppress a useful warnings in recent libcs,
and there is no way to specify both a function and object in a suppression, so I
suppressed all warnings from libc-2.5 when called from mbox/message.c
git-svn: trunk@4295
17 years ago
Török Edvin
a11bc7f397
fix typo in test script
...
git-svn: trunk@4294
17 years ago
Török Edvin
69bf831df5
fix valgrind warnings on Fedora
...
git-svn: trunk@4293
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
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
9adefc192c
locate efence/duma using libtool's search path so that it works with /usr/lib64 (bb #1250 )
...
git-svn: trunk@4275
17 years ago
Török Edvin
d9282b9765
properly null-terminate buffer (bb #1223 )
...
git-svn: trunk@4252
17 years ago
Török Edvin
d6d8d45031
fix URL parsing, since we now parse the full URL
...
git-svn: trunk@4248
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
b105842c5c
when --disable-gcc-vcheck is set, set CFLAGS to O0 and
...
append -broken-compiler to the VERSION (bb #684 )
introduce VERSION_SUFFIX for easier handling, and convert -exp to use it
git-svn: trunk@4239
17 years ago
Török Edvin
034743fdbe
suppress a false positive race
...
* ChangeLog:
git-svn: trunk@4234
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
ae685a75c1
link to libclamunrar_iface explicitly to
...
allow non-rpath builds to work. (bb #1203 )
Thanks to James Ralston <ralston*pobox.com>
git-svn: trunk@4224
17 years ago
Török Edvin
ff9845c02b
--phishing-ssl and --phishing-cloak should work even if the host is not in the .pdb (bb #1211 )
...
git-svn: trunk@4220
17 years ago
Török Edvin
0ef9c88167
add some valgrind suppressions (bb #1189 )
...
git-svn: trunk@4219
17 years ago
Török Edvin
dc36f0d70c
strip spaces from URL before checking that it is a URL
...
git-svn: trunk@4215
17 years ago
Török Edvin
ab90350cc3
fix make distcheck: add files to extradist
...
git-svn: trunk@4209
17 years ago
Török Edvin
e0ac8b2093
Fix unit test timeout on slower boxes.
...
Don't use fail_unless in a loop, because it actually calls fail_unless each time,
and we had a 512k buffer to compare.
git-svn: trunk@4205
17 years ago
Török Edvin
7d4b5f164a
use clistrdup/free instead of blobs (bb #828 )
...
git-svn: trunk@4203
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
5a87c9909f
fix typo
...
git-svn: trunk@4200
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
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
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
81040d73db
bb #1160
...
git-svn: trunk@4183
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
3baee5029c
convert a checked fixture into an unchecked fixture,
...
it is sufficient if that setup code is run once, this speeds up the tests.
fix some helgrind warnings
(the phishcheck struct is going to be freed anyway, so writing
something to it doesn't help anyway)
git-svn: trunk@4180
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
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
17 years ago
aCaB
6d48ea885a
update libtool - bb#1162
...
git-svn: trunk@4170
17 years ago
Török Edvin
2d75763208
revert last commit, it breaks bzip2 detection in /usr/local
...
git-svn: trunk@4163
17 years ago
Török Edvin
8179270b95
if pkg-config cannot find check look in standard places for check
...
(such as /usr/local/lib)
git-svn: trunk@4162
17 years ago
aCaB
f1c7c6b3cf
disasm endianess fixes
...
git-svn: trunk@4155
17 years ago
aCaB
47c92b5985
re-enable bigendian builds
...
git-svn: trunk@4154
17 years ago
Török Edvin
3ca0011419
make distcheck fix
...
git-svn: trunk@4151
17 years ago
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