Skip to content

Commit

Permalink
tc-testing: fix arg to ip command: -s -> -n
Browse files Browse the repository at this point in the history
Fixes: 31c2611 ("selftests: Introduce a new test case to tc testsuite")
Fixes: 76b903e ("selftests: Introduce tc testsuite")
Signed-off-by: Brenda J. Butler <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Brenda J. Butler authored and davem330 committed Oct 31, 2017
1 parent 822e86d commit 518828f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/tc-testing/tdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 518828f

Please sign in to comment.