Skip to content

Commit

Permalink
CI: Fixed config tests
Browse files Browse the repository at this point in the history
 * commented `flow_risk.crawler_bot.list.load` out

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
  • Loading branch information
utoni committed Jan 26, 2025
1 parent 053818b commit 55d565e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/configs/unusual-ndpi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ dpi.compute_entropy = 1
fpc = enable
dpi.guess_on_giveup = 0x01
flow_risk_lists.load = 1
flow_risk.crawler_bot.list.load = 1
# Currently broken (upstream)
#flow_risk.crawler_bot.list.load = 1
log.level = 3

[protos]
Expand Down
3 changes: 2 additions & 1 deletion test/run_config_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ EOF

if ! `ls -l cfgs/*/pcap/*.pcap cfgs/*/pcap/*.pcapng cfgs/*/pcap/*.cap >/dev/null 2>/dev/null`; then
printf '\n%s\n' "Could not find any PCAP files."
exit 7
exit 6
fi

mkdir -p /tmp/nDPId-cfgtest-stderr
Expand Down Expand Up @@ -120,6 +120,7 @@ for cfg_file in ${MYDIR}/configs/*.conf; do
cat "${stderr_file}"
test -r "/tmp/nDPId-test-stderr/${pcap_name}.strace.out" && cat "/tmp/nDPId-test-stderr/${pcap_name}.strace.out"
TESTS_FAILED=$((TESTS_FAILED + 1))
test ${TESTS_FAILED} -eq 0 || exit ${TESTS_FAILED}
fi
done

Expand Down

0 comments on commit 55d565e

Please sign in to comment.