tests: Skip sigma_dut_dpp_qr_resp_11 if dpp-ca.py does not exist
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
38ef655eb5
commit
9d00efd829
1 changed files with 2 additions and 0 deletions
|
@ -1533,6 +1533,8 @@ def test_sigma_dut_dpp_qr_resp_10(dev, apdev):
|
||||||
|
|
||||||
def test_sigma_dut_dpp_qr_resp_11(dev, apdev, params):
|
def test_sigma_dut_dpp_qr_resp_11(dev, apdev, params):
|
||||||
"""sigma_dut DPP/QR responder (conf index 11)"""
|
"""sigma_dut DPP/QR responder (conf index 11)"""
|
||||||
|
if not os.path.exists("./dpp-ca.py"):
|
||||||
|
raise HwsimSkip("dpp-ca.py not available")
|
||||||
logdir = params['logdir']
|
logdir = params['logdir']
|
||||||
with open("auth_serv/ec-ca.pem", "rb") as f:
|
with open("auth_serv/ec-ca.pem", "rb") as f:
|
||||||
res = f.read()
|
res = f.read()
|
||||||
|
|
Loading…
Reference in a new issue