Browse code

Update unit tests after Phishing.Heuristics -> Heuristics.Phishing change.

Török Edvin authored on 2010/02/09 03:27:59
Showing 1 changed files
... ...
@@ -168,8 +168,8 @@ EOF
168 168
 	die "Failed to run clamscan (phish-test2)";
169 169
     fi
170 170
 
171
-    grep "phish-test-ssl: Phishing.Heuristics.Email.SSL-Spoof FOUND" clamscan3.log >/dev/null || die "phish-test1 failed";
172
-    grep "phish-test-cloak: Phishing.Heuristics.Email.Cloaked.Null FOUND" clamscan3.log >/dev/null || die "phish-test2 failed";
171
+    grep "phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND" clamscan3.log >/dev/null || die "phish-test1 failed";
172
+    grep "phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND" clamscan3.log >/dev/null || die "phish-test2 failed";
173 173
     test_end $1
174 174
 }
175 175
 
... ...
@@ -303,7 +303,7 @@ test_clamd3() {
303 303
     start_clamd
304 304
     # Test HeuristicScanPrecedence feature
305 305
     run_clamdscan ../clam-phish-exe
306
-    grep "Phishing.Heuristics.Email.SpoofedDomain" clamdscan.log >/dev/null 2>/dev/null ||
306
+    grep "Heuristics.Phishing.Email.SpoofedDomain" clamdscan.log >/dev/null 2>/dev/null ||
307 307
         { cat clamdscan.log; die "HeuristicScanPrecedence on test failed!"; }
308 308
 
309 309
     if grep "^#define HAVE_FD_PASSING 1" $TOP/clamav-config.h >/dev/null; then