tc-testing: fix arg to ip command: -s -> -n
authorBrenda J. Butler <bjb@mojatatu.com>
Mon, 30 Oct 2017 21:59:22 +0000 (17:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Oct 2017 02:12:52 +0000 (11:12 +0900)
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>
tools/testing/selftests/tc-testing/tdc.py

index 5f11f5d7456e7c1488a2dabe38a81a5a5f949eea..a8981c5d0aaf190fae20ec6ddb0e22984665c8e2 100755 (executable)
@@ -152,11 +152,11 @@ def ns_create():
         exec_cmd(cmd, False)
         cmd = 'ip link set $DEV0 up'
         exec_cmd(cmd, False)
-        cmd = 'ip -s $NS link set $DEV1 up'
+        cmd = 'ip -n $NS link set $DEV1 up'
         exec_cmd(cmd, False)
         cmd = 'ip link set $DEV2 netns $NS'
         exec_cmd(cmd, False)
-        cmd = 'ip -s $NS link set $DEV2 up'
+        cmd = 'ip -n $NS link set $DEV2 up'
         exec_cmd(cmd, False)