mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
test-runner: fix check for phonesim
This got changed to use which, but not updated to remove the list argument.
This commit is contained in:
parent
cec5fab9b3
commit
5453f71a7c
@ -461,7 +461,7 @@ class TestContext(Namespace):
|
|||||||
os.environ['IWD_SIM_KEYS'] = sim_keys
|
os.environ['IWD_SIM_KEYS'] = sim_keys
|
||||||
return
|
return
|
||||||
|
|
||||||
if not shutil.which('ofonod') or not shutil.which(['phonesim']):
|
if not shutil.which('ofonod') or not shutil.which('phonesim'):
|
||||||
print("Ofono or Phonesim not found, skipping test")
|
print("Ofono or Phonesim not found, skipping test")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user