[Bro-Dev] tests and libmagic (Re: Updating testing/external)

Jonathan Siwek jsiwek at ncsa.illinois.edu
Fri Sep 9 08:09:20 PDT 2011


> Jon handled this in several places are there some he missed?  Which tests are you having trouble with?

Could be; I just tried to make it work for some of the testing/btest unit tests that I caught using it, but I didn't try to address the problem for testing/external.

The way I did it for the testing/btest tests was to use filters to either filter mime types out completely if the test doesn't depend on it, or if it does, to again use a filter to normalize mime types to some constant dummy value.  That approach might not be so scalable to do in a generalized way for testing/external.

- Jon


More information about the bro-dev mailing list