mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
selftests: mptcp: set FAILING_LINKS in run_tests
[ Upstream commitbe7e9786c9
] Set FAILING_LINKS as an env var with a limited scope only when calling run_tests(). Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net> Signed-off-by: Geliang Tang <geliang.tang@suse.com> Signed-off-by: Mat Martineau <martineau@kernel.org> Link: https://lore.kernel.org/r/20230623-send-net-next-20230623-v1-3-a883213c8ba9@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Stable-dep-of:7cefbe5e1d
("selftests: mptcp: fix fastclose with csum failure") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
4b85e920af
commit
c96a4f9360
@ -2167,8 +2167,8 @@ link_failure_tests()
|
||||
pm_nl_set_limits $ns1 0 2
|
||||
pm_nl_add_endpoint $ns1 10.0.2.1 dev ns1eth2 flags signal
|
||||
pm_nl_set_limits $ns2 1 2
|
||||
FAILING_LINKS="1"
|
||||
pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
|
||||
FAILING_LINKS="1" \
|
||||
run_tests $ns1 $ns2 10.0.1.1 1
|
||||
chk_join_nr 2 2 2
|
||||
chk_add_nr 1 1
|
||||
@ -2183,7 +2183,7 @@ link_failure_tests()
|
||||
pm_nl_add_endpoint $ns1 10.0.2.1 dev ns1eth2 flags signal
|
||||
pm_nl_set_limits $ns2 1 2
|
||||
pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
|
||||
FAILING_LINKS="1 2"
|
||||
FAILING_LINKS="1 2" \
|
||||
run_tests $ns1 $ns2 10.0.1.1 1
|
||||
chk_join_nr 2 2 2
|
||||
chk_add_nr 1 1
|
||||
@ -2199,7 +2199,7 @@ link_failure_tests()
|
||||
pm_nl_add_endpoint $ns1 10.0.2.1 dev ns1eth2 flags signal
|
||||
pm_nl_set_limits $ns2 1 3
|
||||
pm_nl_add_endpoint $ns2 10.0.3.2 dev ns2eth3 flags subflow,backup
|
||||
FAILING_LINKS="1 2"
|
||||
FAILING_LINKS="1 2" \
|
||||
run_tests $ns1 $ns2 10.0.1.1 2
|
||||
chk_join_nr 2 2 2
|
||||
chk_add_nr 1 1
|
||||
|
Loading…
Reference in New Issue
Block a user