forked from osmocom/wireshark
sharkd: use json_dumper for output.
Change-Id: I457613ea154a86098f536b57844ad6606c595a46 Reviewed-on: https://code.wireshark.org/review/31035 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
parent
711eb94438
commit
4b42a45ebc
1249
sharkd_session.c
1249
sharkd_session.c
File diff suppressed because it is too large
Load Diff
|
@ -228,8 +228,6 @@ class case_sharkd(subprocesstest.SubprocessTestCase):
|
|||
}
|
||||
],
|
||||
},
|
||||
# XXX remove the last null element, it is not part of the interface.
|
||||
None
|
||||
]
|
||||
},
|
||||
))
|
||||
|
@ -323,8 +321,7 @@ class case_sharkd(subprocesstest.SubprocessTestCase):
|
|||
{"req": "frame", "frame": 2},
|
||||
), (
|
||||
{"err": 0},
|
||||
# XXX remove the first 0 element, it is not part of the interface.
|
||||
{"err": 0, "fol": [0, ["UDP", "udp.stream eq 1"]]},
|
||||
{"err": 0, "fol": [["UDP", "udp.stream eq 1"]]},
|
||||
))
|
||||
|
||||
def test_sharkd_req_frame_proto(self, check_sharkd_session, capture_file):
|
||||
|
|
Loading…
Reference in New Issue