diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-05-30 13:32:20 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-05-30 21:16:38 +0000 |
commit | 55304159fc590470d1e7e830da0ecfa2c8068b6b (patch) | |
tree | 94885e5e5fde576891efbe3aac9041c59a7a778c /test/suite_clopts.py | |
parent | a5d3079b07df552e2e0a1f7879a2b8e4d070548c (diff) |
Test: Add UTF-8 filter tests.
Change-Id: Ic1e961802e716b5c446428efa068a6205faab954
Reviewed-on: https://code.wireshark.org/review/27912
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'test/suite_clopts.py')
-rw-r--r-- | test/suite_clopts.py | 8 |
1 files changed, 8 insertions, 0 deletions
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: |