From df9708697c45d75680e0d83179d8b8d396f8ed10 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 2 Jun 2020 23:48:39 -0600 Subject: [PATCH] dhcp test: fix test for new unicode encoding With JsonBuilder, NUL bytes in a string are now encoded as unicode (\u0000) instead of our previous convention of \\x00. Rename the old test as its still required for pre version 6.0. --- tests/dhcp-eve-extended-pre-6/input.pcap | Bin 0 -> 748 bytes tests/dhcp-eve-extended-pre-6/suricata.yaml | 11 ++++ tests/dhcp-eve-extended-pre-6/test.yaml | 69 ++++++++++++++++++++ tests/dhcp-eve-extended/test.yaml | 7 +- 4 files changed, 84 insertions(+), 3 deletions(-) create mode 100644 tests/dhcp-eve-extended-pre-6/input.pcap create mode 100644 tests/dhcp-eve-extended-pre-6/suricata.yaml create mode 100644 tests/dhcp-eve-extended-pre-6/test.yaml diff --git a/tests/dhcp-eve-extended-pre-6/input.pcap b/tests/dhcp-eve-extended-pre-6/input.pcap new file mode 100644 index 0000000000000000000000000000000000000000..93617129fa5bf026e7a42a9ed3a01f6293d9230b GIT binary patch literal 748 zc-p&ic+)~A1{MYcU}0bclF@fo#<|LHGlT&-AiThAzK@RvgP@VP=LZf3R|ZB81_lQP z2SMdVE&)asAZBE6VQ^+N*}R&Ok&WSfO1KNiERY-nG63sm7&aieDLC1bk(q}zFR|E= z!JM5@hKZS