From 717abd851cff5fbccc29572ee85dce25aabbc79d Mon Sep 17 00:00:00 2001 From: saarloos <9090-90-90-9090@163.com> Date: Thu, 24 Nov 2022 09:41:17 +0800 Subject: [PATCH] test: fix no bridge-nf-call-iptables fail bug fix no bridge-nf-call-iptables fail bug Signed-off-by: saarloos <9090-90-90-9090@163.com> --- test_tools/ci_test.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_tools/ci_test.sh b/test_tools/ci_test.sh index 04b39a51..e3b84451 100644 --- a/test_tools/ci_test.sh +++ b/test_tools/ci_test.sh @@ -361,7 +361,9 @@ EOF run_test test_result_ana - echo ${br_nf_iptab_num} | sudo tee /proc/sys/net/bridge/bridge-nf-call-iptables + if [ -e /proc/sys/net/bridge/bridge-nf-call-iptables ]; then + echo ${br_nf_iptab_num} | sudo tee /proc/sys/net/bridge/bridge-nf-call-iptables + fi exit $exitCode } -- Gitee