]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: wpa_supplicant ctrl_iface BSSID command error case
authorJouni Malinen <j@w1.fi>
Sun, 7 Dec 2014 16:19:12 +0000 (18:19 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 8 Dec 2014 09:07:56 +0000 (11:07 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_ctrl.py

index 54f45e1bf395269f943cef65667860d4c0e886ff..6cdf3aab99aeaf7e12175c5dc2cad69c19943f8a 100644 (file)
@@ -198,6 +198,8 @@ def test_wpas_ctrl_network(dev):
         raise Exception("Unexpected BSSID success")
     if "FAIL" not in dev[0].request('BSSID ' + str(id) + ' 00:11:22:33:44'):
         raise Exception("Unexpected BSSID success")
+    if "FAIL" not in dev[0].request('BSSID ' + str(id)):
+        raise Exception("Unexpected BSSID success")
 
 def test_wpas_ctrl_many_networks(dev, apdev):
     """wpa_supplicant ctrl_iface LIST_NETWORKS with huge number of networks"""