tc-testing: tdc.py: ignore errors when decoding stdout/stderr
authorLucas Bates <lucasb@mojatatu.com>
Fri, 16 Nov 2018 22:37:55 +0000 (17:37 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:16:13 +0000 (09:16 +0100)
commit9806e7473d10988677c3404301dbbc00cb6d8858
tree2cb8896b386b93c23ac9961c9c1a5da3c8db5060
parentb8c51924b4e1bc019a81aae3d6456ac26310cd38
tc-testing: tdc.py: ignore errors when decoding stdout/stderr

[ Upstream commit 5aaf6428526bcad98d6f51f2f679c919bb75d7e9 ]

Prevent exceptions from being raised while decoding output
from an executed command. There is no impact on tdc's
execution and the verify command phase would fail the pattern
match.

Signed-off-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/tc-testing/tdc.py