File analysis fixes and test updates.

- Several places were just using old variable names or not loading
  scripts correctly after they'd been renamed/moved.

- Revert/adjust a change in how HTTP file handles are generated that
  broke partial content responses.

- Turn some libmagic builtin checks back on; seems some are actually
  useful (e.g. text detection seems to be a builtin).  The rule going
  forward probably will be only to turn off a builtin if we confirm it
  causes issues.

- Removed some tests that are redundant or not necessary anymore because
  the generic file analysis tests cover them.

- A couple FTP tests still fail that I think need an actual solution via
  script changes.
This commit is contained in:
Jon Siwek 2013-07-25 16:51:16 -05:00
parent ac6b12b5d4
commit 939619889d
71 changed files with 293 additions and 1002 deletions

View file

@ -1,3 +1,7 @@
@load base/files/extract
@load base/files/hash
redef FileExtract::prefix = "./";
global test_file_analysis_source: string = "" &redef;