]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix authsrv_errors_1 and authsrv_errors_3 when running on host
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 7 Mar 2017 16:13:05 +0000 (18:13 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Mar 2017 16:13:05 +0000 (18:13 +0200)
commit732b57acb4c5655e2ee0b8260136acf14a15b11a
treebeb3032b849c0a00ae84a5e9fe571b1fa563ab43
parenta1f11e34c4d6a10bdfef58cdba0b19e1335e087b
tests: Fix authsrv_errors_1 and authsrv_errors_3 when running on host

Use a non-existing directory in the path to avoid SQLite from being able
to create a new database file. The previous design worked in the VM case
due to the host file system being read-only, but a bit more is needed
for the case when this is running on the host.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_authsrv.py