test: run test_tshark_extcap_interfaces with capture support only.

Fix tests without pcap.

Change-Id: Ib3057d072bd8ced3d1c04b862f6fd7cc07400aa8
Reviewed-on: https://code.wireshark.org/review/32837
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Dario Lombardo 2019-04-14 20:42:33 +02:00 committed by Peter Wu
parent c9637e8ee8
commit 7aa48b3099
1 changed files with 2 additions and 1 deletions

View File

@ -286,7 +286,8 @@ class case_tshark_z_expert(subprocesstest.SubprocessTestCase):
@fixtures.mark_usefixtures('test_env')
@fixtures.uses_fixtures
class case_tshark_extcap(subprocesstest.SubprocessTestCase):
def test_tshark_extcap_interfaces(self, cmd_tshark, program_path):
# dumpcap dependency has been added to run this test only with capture support
def test_tshark_extcap_interfaces(self, cmd_tshark, cmd_dumpcap, program_path):
# Script extcaps don't work with the current code on windows.
# https://www.wireshark.org/docs/wsdg_html_chunked/ChCaptureExtcap.html
# TODO: skip this test until it will get fixed.