diff options
| author | David S. Miller <davem@davemloft.net> | 2018-12-08 03:39:03 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-12-08 03:39:03 +0300 |
| commit | 83af01ba1c2d38d3075b38af2a2116eb1ebe67e6 (patch) | |
| tree | 2ab4c4af5123b4e1be32806cdc3254e6986ae5a6 /tools/testing/selftests/tc-testing/tdc_config.py | |
| parent | 0fbe82e628c817e292ff588cd5847fc935e025f2 (diff) | |
| parent | 8d189159ac1e8dc6d491840b3b2a9ede762269bc (diff) | |
| download | linux-83af01ba1c2d38d3075b38af2a2116eb1ebe67e6.tar.xz | |
Merge branch 'tc-testing-next'
Lucas Bates says:
====================
tc-testing: implement command timeouts and better results tracking
Patch 1 adds a timeout feature for any command tdc launches in a subshell.
This prevents tdc from hanging indefinitely.
Patches 2-4 introduce a new method for tracking and generating test case
results, and implements it across the core script and all applicable
plugins.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_config.py')
| -rw-r--r-- | tools/testing/selftests/tc-testing/tdc_config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/tc-testing/tdc_config.py b/tools/testing/selftests/tc-testing/tdc_config.py index d651bc1501bd..6d91e48c2625 100644 --- a/tools/testing/selftests/tc-testing/tdc_config.py +++ b/tools/testing/selftests/tc-testing/tdc_config.py @@ -15,6 +15,8 @@ NAMES = { 'DEV1': 'v0p1', 'DEV2': '', 'BATCH_FILE': './batch.txt', + # Length of time in seconds to wait before terminating a command + 'TIMEOUT': 12, # Name of the namespace to use 'NS': 'tcut', # Directory containing eBPF test programs |
