From: Jouni Malinen Date: Sun, 7 Mar 2021 10:08:02 +0000 (+0200) Subject: tests: Additional invalid SET_NEIGHBOR coverage X-Git-Tag: hostap_2_10~458 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ded7d273479ad2826bade6c69efae7e953e94f;p=thirdparty%2Fhostap.git tests: Additional invalid SET_NEIGHBOR coverage Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index 5f794bb19..84318f6cb 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -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")