tests: Additional invalid SET_NEIGHBOR coverage
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
924c17aad5
commit
b0ded7d273
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ def test_rrm_neighbor_db(dev, apdev):
|
||||||
if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=test1 nr=" + nr):
|
if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=test1 nr=" + nr):
|
||||||
raise Exception("Set neighbor succeeded unexpectedly")
|
raise Exception("Set neighbor succeeded unexpectedly")
|
||||||
|
|
||||||
|
# Bad SSID end
|
||||||
|
if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 ssid=\"test1 nr=" + nr):
|
||||||
|
raise Exception("Set neighbor succeeded unexpectedly")
|
||||||
|
|
||||||
# No SSID
|
# No SSID
|
||||||
if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 nr=" + nr):
|
if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 nr=" + nr):
|
||||||
raise Exception("Set neighbor succeeded unexpectedly")
|
raise Exception("Set neighbor succeeded unexpectedly")
|
||||||
|
|
Loading…
Reference in a new issue