]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Additional invalid SET_NEIGHBOR coverage
authorJouni Malinen <j@w1.fi>
Sun, 7 Mar 2021 10:08:02 +0000 (12:08 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 7 Mar 2021 10:08:02 +0000 (12:08 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_rrm.py

index 5f794bb19412d79fb7d5c2b522e6f3011c8454ce..84318f6cb64fa3836b3d5d8c9e25c88ef50cdd81 100644 (file)
@@ -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):
         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
     if "FAIL" not in hapd.request("SET_NEIGHBOR 00:11:22:33:44:55 nr=" + nr):
         raise Exception("Set neighbor succeeded unexpectedly")