From e42b7194ddb8cb7a8a69d5d26f1fe990510e8b12 Mon Sep 17 00:00:00 2001 From: saarloos <9090-90-90-9090@163.com> Date: Thu, 24 Nov 2022 09:43:40 +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 bdfc40d1..9abaca53 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