]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/dns: copy over dns unit tests
authorJason Ish <ish@unx.ca>
Wed, 7 Jun 2017 20:06:44 +0000 (14:06 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 12 Jun 2017 17:27:36 +0000 (19:27 +0200)
commit26914cd59af44ccf81a483636c490da2f8584a29
treee1633fdc3e58409831797f09fbe8e9a128639f58
parentfafa75035f213b9a1d946f9d4a3b101639c9d7d3
rust/dns: copy over dns unit tests

Only the tests that make sense were copied over, those testing
correlation of responses to requests were not.

Also, remove compiler warning when not built with
unit tests.
src/app-layer-dns-tcp-rust.c
src/app-layer-dns-udp-rust.c