summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorRoman Mashak <mrv@mojatatu.com>2019-06-15 15:41:43 -0400
committerDavid S. Miller <davem@davemloft.net>2019-06-16 14:13:31 -0700
commit92c1a19e2fb9dc3194de123009cd8d418f1e2a3b (patch)
tree5256f1889365a4e54a4b1bc22afadb331478b898 /tools/testing
parent871e846585919adf727f21398f433fd424b6f0e1 (diff)
tc-tests: added path to ip command in tdc
This macro $IP will be used in upcoming tc tests, which require to create interfaces etc. Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
-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 942c70c041be..b771d4c89621 100644
--- a/tools/testing/selftests/tc-testing/tdc_config.py
+++ b/tools/testing/selftests/tc-testing/tdc_config.py
@@ -10,6 +10,8 @@ Copyright (C) 2017 Lucas Bates <lucasb@mojatatu.com>
NAMES = {
# Substitute your own tc path here
'TC': '/sbin/tc',
+ # Substitute your own ip path here
+ 'IP': '/sbin/ip',
# Name of veth devices to be created for the namespace
'DEV0': 'v0p0',
'DEV1': 'v0p1',