tc-testing: fix arg to ip command: -s -> -n
Subsystems (4)
PATCH 1/1 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 <[email protected]>
---
We want to run the command inside the container, not in the host.
tools/testing/selftests/tc-testing/tdc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/tc-testing/tdc.py +2 -2
@@ -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)
Signature · 1 line
2.15.0.rc0
From: "Brenda J. Butler" <[email protected]>
Date: Mon, 30 Oct 2017 17:59:22 -0400
Quoted 3 lines
Fixes 31c2611b66e0 ("selftests: Introduce a new test case to tc testsuite")Fixes 76b903ee198d ("selftests: Introduce tc testsuite")Signed-off-by Brenda J. Butler <[email protected]>
Applied, thanks Brenda.