test: add ek + raw test to outputformats.

Ping-Bug: 16187
Change-Id: Ie8d6dd1a8ff203bd6270dcfcbbeda953d57733f3
Reviewed-on: https://code.wireshark.org/review/35046
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Dario Lombardo 2019-11-10 23:18:05 +01:00 committed by Michael Mann
parent 560f2e54ba
commit 12e79f037d
2 changed files with 12 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@ -61,6 +61,10 @@ class case_outputformats(subprocesstest.SubprocessTestCase):
'''Decode some captures into ek'''
check_outputformat("ek", expected="dhcp.ek", multiline=True)
def test_outputformat_ek_raw(self, check_outputformat):
'''Decode some captures into ek, with raw data'''
check_outputformat("ek", expected="dhcp-raw.ek", multiline=True, extra_args=['-x'])
def test_outputformat_json_select_field(self, check_outputformat):
'''Checks that the -e option works with -Tjson.'''
check_outputformat("json", extra_args=['-eframe.number', '-c1'], expected=[