]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_sigma_dut.py
tests: Read sigma_dut-ap.conf as binary data for python3 compatibility
authorJouni Malinen <j@w1.fi>
Mon, 4 Feb 2019 14:46:31 +0000 (16:46 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 4 Feb 2019 14:46:31 +0000 (16:46 +0200)
commit37df1775addfd74dbaf1261a975d17e8434cb6a7
tree4a2654d192caa42513471e19b172cfd92824442f
parente50c58e5858a3b4d9ad403c3c184d4cbd4e65cc9
tests: Read sigma_dut-ap.conf as binary data for python3 compatibility

Sending UTF-8 encoded data to logger file is currently not working
properly, so create a separate binary file with a copy of
sigma_dut-ap.conf instead to work with both python2 and python3.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_sigma_dut.py