]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Fix dbus_probe_req_reporting_oom if already registered
authorJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 10:39:00 +0000 (12:39 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 17 Jan 2015 10:39:00 +0000 (12:39 +0200)
commitfb9adae4661443e6364537e0a067d87847193493
tree7b606530fe1f87abd537a92b8bb08da72b31d950
parent90b10d4edd4721a7ba668cf9f1d60af0b93100e6
tests: Fix dbus_probe_req_reporting_oom if already registered

If dbus_probe_req_reporting was run before dbus_probe_req_reporting_oom,
the SubscribeProbeReq() method succeeded since the memory allocation
that was supposed to fail in the OOM test case was not even tried.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_dbus.py