Files
linux/tools/testing/selftests/tc-testing/tdc.py
Brenda J. Butler 4ef9e48c9c tc-testing: tdc.py: Guard against lack of returncode in executed command
[ Upstream commit c6cecf4ae4 ]

Add some defensive coding in case one of the subprocesses created by tdc
returns nothing. If no object is returned from exec_cmd, then tdc will
halt with an unhandled exception.

Signed-off-by: Brenda J. Butler <bjb@mojatatu.com>
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>
2018-12-13 09:16:13 +01:00

21 KiB
Executable File