summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tdc_config.py
diff options
context:
space:
mode:
authorDavid S. Miller2018-12-08 01:39:03 +0100
committerDavid S. Miller2018-12-08 01:39:03 +0100
commit83af01ba1c2d38d3075b38af2a2116eb1ebe67e6 (patch)
tree2ab4c4af5123b4e1be32806cdc3254e6986ae5a6 /tools/testing/selftests/tc-testing/tdc_config.py
parentnet: call sk_dst_reset when set SO_DONTROUTE (diff)
parenttc-testing: gitignore, ignore generated test results (diff)
downloadkernel-qcow2-linux-83af01ba1c2d38d3075b38af2a2116eb1ebe67e6.tar.gz
kernel-qcow2-linux-83af01ba1c2d38d3075b38af2a2116eb1ebe67e6.tar.xz
kernel-qcow2-linux-83af01ba1c2d38d3075b38af2a2116eb1ebe67e6.zip
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.py2
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