[Oisf-devel] Solaris sparc question

Will Metcalf william.metcalf at gmail.com
Fri Jan 15 20:38:12 UTC 2010


You should be able to enable unit tests in the code by passing the configure
option --enable-unittests

You can run all unit tests by running

src/suricata -u

Or you can use a case insensitive regex string to only run certain tests

src/suricata -u -U "decode"

will run any matching unit tests

Test DecodeEventTestParse01                                       : pass
Test DecodeEventTestParse02                                       : pass
Test DecodeEventTestParse03                                       : pass
Test DecodeEventTestParse04                                       : pass
Test DecodeEventTestParse05                                       : pass
Test DecodeEventTestParse06                                       : pass
(etc)

On Fri, Jan 15, 2010 at 1:31 PM, Yao-Min Chen <Yaomin.Chen at sun.com> wrote:

> Folks,
>
> Congratulations on getting Suricata Engine out, a great news in the new
> year!
>
> I've downloaded and made a few changes in the source code so it compiles
> in Solaris.  I wonder if there are unit tests available so I can test
> the compiled binary (sorry if this a newbie question). Also if anyone
> can provide a heads up on what functionality may likely to fail in
> Solaris, I'd appreciate that. One thing in particular that I have
> noticed is the processor affinity that Linux and Solaris have different
> facilities. So I'd like to test that part out extensively.
>
> Regards,
> Yaomin
> _______________________________________________
> Oisf-devel mailing list
> Oisf-devel at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20100115/4966bdff/attachment-0002.html>


More information about the Oisf-devel mailing list