Commit 30021843 authored by Vincent Pelletier's avatar Vincent Pelletier

caucase.test: Do not fail when decoding caucase.sh stdout

Print any ascii characters from its output, substituting those which are
not.
parent 53043d20
...@@ -3892,7 +3892,7 @@ class CaucaseShellTest(TestCase): ...@@ -3892,7 +3892,7 @@ class CaucaseShellTest(TestCase):
'Process %r exited with status %s, dumping output:\n%s' % ( 'Process %r exited with status %s, dumping output:\n%s' % (
command, command,
status, status,
stdout.decode('ascii'), stdout.decode('ascii', errors='replace'),
) )
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment