]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Use \t instead of \n in discovery_ctrl_char_in_devname
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 5 Apr 2016 22:05:55 +0000 (01:05 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 2 May 2016 08:08:25 +0000 (11:08 +0300)
This is needed to allow the SET command to be modified to reject newline
characters.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_p2p_discovery.py

index 8931421c31c193bbc56a2894fa04710f36cf8a07..5f3ebac14860eebd3893432293bf97eab534576e 100644 (file)
@@ -179,7 +179,7 @@ def test_discovery_ctrl_char_in_devname(dev):
         dev[1].global_request("SET device_name Device B")
 
 def _test_discovery_ctrl_char_in_devname(dev):
-    dev[1].global_request("SET device_name Device\nB")
+    dev[1].global_request("SET device_name Device\tB")
     addr0 = dev[0].p2p_dev_addr()
     addr1 = dev[1].p2p_dev_addr()
     res = dev[0].p2p_start_go(freq=2422)