OSDN Git Service

tc-tests: added path to ip command in tdc
authorRoman Mashak <mrv@mojatatu.com>
Sat, 15 Jun 2019 19:41:43 +0000 (15:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jun 2019 21:13:31 +0000 (14:13 -0700)
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>
tools/testing/selftests/tc-testing/tdc_config.py

index 942c70c..b771d4c 100644 (file)
@@ -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',