From 8aa207ae536bffc653d057e2c07fe2ee7e1a70c7 Mon Sep 17 00:00:00 2001 From: saarloos <9090-90-90-9090@163.com> Date: Thu, 24 Nov 2022 09:44:07 +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 e0e89677..e609b275 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