fix previous: typo in unit_tests, order in cli_exe_info

0.96
aCaB 15 years ago
parent 453d818022
commit 08b5aec381
  1. 4
      libclamav/execs.h
  2. 2
      unit_tests/check_common.sh

@ -50,12 +50,12 @@ struct cli_exe_info {
uint32_t ep;
/** Number of sections*/
uint16_t nsections;
/** Hashset for versioninfo matching */
struct cli_hashset *vinfo;
/** Resrources RVA - PE ONLY */
uint32_t res_addr;
/** Address size - PE ONLY */
uint32_t hdr_size;
/** Hashset for versioninfo matching */
struct cli_hashset *vinfo;
};
#endif

@ -191,7 +191,7 @@ EOF
grep "clam_IScab_ext.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND" clamscan4.log || die "icon-test3 failed"
grep "clam_IScab_int.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND" clamscan4.log || die "icon-test4 failed"
NINFECTED=`grep "Infected files" clamscan4.log | cut -f2 -d: | sed -e 's/ //g'`
if test "x$NINFECTED" -ne x4; then
if test "x$NINFECTED" != x4; then
scan_failed clamscan4.log "clamscan has detected spurious icons or whitlisting was not applier properly"
fi
test_end $1

Loading…
Cancel
Save