From 55304159fc590470d1e7e830da0ecfa2c8068b6b Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 30 May 2018 13:32:20 -0700 Subject: Test: Add UTF-8 filter tests. Change-Id: Ic1e961802e716b5c446428efa068a6205faab954 Reviewed-on: https://code.wireshark.org/review/27912 Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs --- test/suite_clopts.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/suite_clopts.py') diff --git a/test/suite_clopts.py b/test/suite_clopts.py index 51fee661e7..194abc8473 100644 --- a/test/suite_clopts.py +++ b/test/suite_clopts.py @@ -158,6 +158,14 @@ class case_tshark_name_resolution_clopts(subprocesstest.SubprocessTestCase): # XXX Add invalid name resolution. +class case_tshark_unicode_clopts(subprocesstest.SubprocessTestCase): + def test_tshark_unicode_display_filter(self): + '''Unicode (UTF-8) display filter''' + cap_file = os.path.join(config.capture_dir, 'http.pcap') + self.runProcess((config.cmd_tshark, '-r', cap_file, '-Y', 'tcp.flags.str == "·······AP···"')) + self.assertTrue(self.grepOutput('HEAD.*/v4/iuident.cab')) + + class case_tshark_dump_glossaries(subprocesstest.SubprocessTestCase): def test_tshark_dump_glossary(self): for glossary in glossaries: -- cgit v1.2.3