git-svn: trunk@4914
Török Edvin authored on 2009/03/09 20:23:12... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Fri Mar 6 18:42:50 EET 2009 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * unit_tests/check_regex.c, unit_tests/input/daily.gdb, |
|
4 |
+ unit_tests/input/daily.pdb2: fix unit-test |
|
5 |
+ |
|
1 | 6 |
Fri Mar 6 18:40:03 EET 2009 (edwin) |
2 | 7 |
------------------------------------ |
3 | 8 |
* docs/man/clamdtop.1.in: F1->H |
... | ... |
@@ -305,8 +305,8 @@ static void psetup_impl(int load2) |
305 | 305 |
fail_unless_fmt(signo == 201, "Incorrect number of signatures: %u, expected %u", signo, 201); |
306 | 306 |
|
307 | 307 |
if(load2) { |
308 |
- f = fdopen(open_testfile("input/daily.pdb2"),"r"); |
|
309 |
- fail_unless(!!f, "fopen daily.pdb2"); |
|
308 |
+ f = fdopen(open_testfile("input/daily.gdb"),"r"); |
|
309 |
+ fail_unless(!!f, "fopen daily.gdb"); |
|
310 | 310 |
|
311 | 311 |
signo = 0; |
312 | 312 |
rc = load_regex_matcher(engine->domainlist_matcher, f, &signo, 0, 0, NULL); |