diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-04-30 17:12:20 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2018-05-01 00:37:41 +0000 |
commit | d25e7c8d91b46fc038f5dc9f64faf11927de0b06 (patch) | |
tree | bb6db38ef74584579babcd60708aa6ffdc06bef8 /test/suite_clopts.py | |
parent | ed384882117696d4ff110e46bc60ebe9ac304974 (diff) |
Test: More fixes and updates.
Move UAT file creation to config.py.
Run the text2pcap and some of the clopts tests under our default
environment.
Use "in" instead of "has_key".
Change-Id: Ie5c70fb33c29676672bed7bf8205cff0bba77f8a
Reviewed-on: https://code.wireshark.org/review/27234
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'test/suite_clopts.py')
-rw-r--r-- | test/suite_clopts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite_clopts.py b/test/suite_clopts.py index a5312c4ad5..894a3ceef7 100644 --- a/test/suite_clopts.py +++ b/test/suite_clopts.py @@ -180,7 +180,7 @@ class case_tshark_dump_glossaries(subprocesstest.SubprocessTestCase): self.assertTrue(decoded, '{} is not valid UTF-8'.format(glossary)) def test_tshark_glossary_plugin_count(self): - self.runProcess((config.cmd_tshark, '-G', 'plugins')) + self.runProcess((config.cmd_tshark, '-G', 'plugins'), env=os.environ.copy()) self.assertGreaterEqual(self.countOutput('dissector'), 10, 'Fewer than 10 dissector plugins found') |