mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-17 17:43:06 -05:00
tests: Fix p2p_ext_discovery_go to write to logger, not stdout
The error case debug print should go to logger. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
720a2e7906
commit
e3523cece4
@ -92,7 +92,7 @@ def test_p2p_ext_discovery_go(dev):
|
||||
raise Exception("Device discovery timed out")
|
||||
peer = dev[1].get_peer(addr0)
|
||||
if peer['vendor_elems'] != "dd050011223344dd06001122335566":
|
||||
print peer['vendor_elems']
|
||||
logger.info("Peer vendor_elems: " + peer['vendor_elems'])
|
||||
raise Exception("Vendor elements not reported correctly")
|
||||
finally:
|
||||
dev[0].request("VENDOR_ELEM_REMOVE 2 *")
|
||||
|
Loading…
x
Reference in New Issue
Block a user