aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBrenda J. Butler <bjb@mojatatu.com>2017-10-30 17:59:22 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-30 22:12:52 -0400
commit518828fcdfc8c1246fc3ea022e74934d4f6bd76f (patch)
tree80f167914ae81ec81ecb14526084ccf4d7ad20de /tools
parent822e86d997e4d8f942818ea6ac1711f59a66ebef (diff)
tc-testing: fix arg to ip command: -s -> -n
Fixes: 31c2611b66e0 ("selftests: Introduce a new test case to tc testsuite") Fixes: 76b903ee198d ("selftests: Introduce tc testsuite") Signed-off-by: Brenda J. Butler <bjb@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/tc-testing/tdc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/tc-testing/tdc.py b/tools/testing/selftests/tc-testing/tdc.py
index 5f11f5d7456e..a8981c5d0aaf 100755
--- a/tools/testing/selftests/tc-testing/tdc.py
+++ b/tools/testing/selftests/tc-testing/tdc.py
@@ -152,11 +152,11 @@ def ns_create():
152 exec_cmd(cmd, False) 152 exec_cmd(cmd, False)
153 cmd = 'ip link set $DEV0 up' 153 cmd = 'ip link set $DEV0 up'
154 exec_cmd(cmd, False) 154 exec_cmd(cmd, False)
155 cmd = 'ip -s $NS link set $DEV1 up' 155 cmd = 'ip -n $NS link set $DEV1 up'
156 exec_cmd(cmd, False) 156 exec_cmd(cmd, False)
157 cmd = 'ip link set $DEV2 netns $NS' 157 cmd = 'ip link set $DEV2 netns $NS'
158 exec_cmd(cmd, False) 158 exec_cmd(cmd, False)
159 cmd = 'ip -s $NS link set $DEV2 up' 159 cmd = 'ip -n $NS link set $DEV2 up'
160 exec_cmd(cmd, False) 160 exec_cmd(cmd, False)
161 161
162 162