Re: [PATCH 1/2] tests/acceptance: Ignore binary data sent on serial console

2021-05-27 Thread Wainer dos Santos Moschetta
On 5/15/21 10:45 AM, Philippe Mathieu-Daudé wrote: If a guest sends binary data on the serial console, we get: File "tests/acceptance/avocado_qemu/__init__.py", line 92, in _console_interaction msg = console.readline().strip() File "/usr/lib64/python3.8/codecs.py", line 322, in dec

[PATCH 1/2] tests/acceptance: Ignore binary data sent on serial console

2021-05-15 Thread Philippe Mathieu-Daudé
If a guest sends binary data on the serial console, we get: File "tests/acceptance/avocado_qemu/__init__.py", line 92, in _console_interaction msg = console.readline().strip() File "/usr/lib64/python3.8/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.err