]> 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)
commit6fc3dc0290d70ccca3be3b0eb5db173ca5411d36
tree9df1f92ec28eeb7c43fcce1a56fa468204aa3338
parent5418afcec44adce2a77f535401f017be9c83671e
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