]> git.baikalelectronics.ru Git - kernel.git/commit
tc-testing: Add command timeout feature to tdc
authorLucas Bates <lucasb@mojatatu.com>
Thu, 6 Dec 2018 22:42:24 +0000 (17:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Dec 2018 00:39:03 +0000 (16:39 -0800)
commit328481016d814d19707699d2d089f0514f20e26a
tree9df1f92ec28eeb7c43fcce1a56fa468204aa3338
parent4d726c26ee9890205979eadc729f0dad9b569c46
tc-testing: Add command timeout feature to tdc

Using an attribute set in the tdc_config.py file, limit the
amount of time tdc will wait for an executed command to
complete and prevent the script from hanging entirely.

This timeout will be applied to all executed commands.

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