Test: More fixups.

Change-Id: I5869d995754ce9e8a128feaef6911b3c05c79e85
Reviewed-on: https://code.wireshark.org/review/27233
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2018-04-30 15:18:36 -07:00
parent c353a12cc0
commit bd5a7d0295
1 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,6 @@ can_capture = False
capture_interface = None
# Our executables
program_path = None
# Strings
cmd_capinfos = None
cmd_dumpcap = None
@ -202,11 +201,11 @@ def setUpUatFile(conf_file):
cf_fd.close()
def setUpHostFiles():
if program_path is None:
return
global program_path
global conf_path
global custom_profile_path
if program_path is None:
return
if conf_path is None or custom_profile_path is None:
setUpTestEnvironment()
bundle_path = os.path.join(program_path, 'Wireshark.app', 'Contents', 'MacOS')