]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix ERP test cases to close separate AS (ifname=as-erp)
authorJouni Malinen <j@w1.fi>
Sat, 25 May 2019 16:07:11 +0000 (19:07 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 May 2019 16:07:11 +0000 (19:07 +0300)
commitf82a8408789ed1bc9b5ec0f28e74c74c141013a4
tree3de449567102001c16870fd89c263e301db63721
parent2d11e5d5e6a5c3d48b5ce8f94d42c20e5cb7072c
tests: Fix ERP test cases to close separate AS (ifname=as-erp)

The earlier change from using apdev[1] to using a no-interface
ifname=as-erp in the ERP related test cases ended up leaving the
separate authentication server interface running after the end of the
test case. This left UDP port 18128 open and any consecutive test case
needing this port failed to start another authentication server.

This can be reproduced with following test case sequence:
fils_auth_gtk_rekey authsrv_unknown_user

Fixes: e374def207c1 ("tests: Start ERP authentication server without AP")
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/run-tests.py