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)
commitd37e56df23f9e5916f95b60388c3f179c53c7102
tree9df1f92ec28eeb7c43fcce1a56fa468204aa3338
parent0fbe82e628c817e292ff588cd5847fc935e025f2
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