]> git.ipfire.org Git - thirdparty/suricata.git/commit
fix util-host-os-info unit tests.
authorJason Ish <ish@unx.ca>
Mon, 20 Apr 2015 21:54:11 +0000 (15:54 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 8 Oct 2015 08:44:37 +0000 (10:44 +0200)
commit580728087cd6f3be4a80177b5d1d8624ac1c9ae8
tree87bef26baddc63e69f538899f4a214d04b60e4de
parent4185f3ee9270b51f2e7b0d0a7227029933b79e40
fix util-host-os-info unit tests.

- Some tests always passed due to the result value being
  initialized to 1.

- Fix tests that now fail.  Looks like just the test were wrong
  and that the code does the right thing.
src/util-host-os-info.c