diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-09-21 16:49:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-21 16:49:51 +0200 |
commit | 03d217eae60c45288131676b736a9d7ece1baca2 (patch) | |
tree | 648c7971225a4804addfd312164269f83ae0a76b /tests/do.sh.in | |
parent | c960bb50f0fed78393f05bba4b05cd55a242d866 (diff) |
Fix CI after nBPF integration (#1746)
Add one CI job testing nBPF
Diffstat (limited to 'tests/do.sh.in')
-rwxr-xr-x | tests/do.sh.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/do.sh.in b/tests/do.sh.in index b01de941b..9dca786da 100755 --- a/tests/do.sh.in +++ b/tests/do.sh.in @@ -23,6 +23,8 @@ EXE_SUFFIX=@EXE_SUFFIX@ GPROF_ENABLED=@GPROF_ENABLED@ PCRE_ENABLED=@PCRE_ENABLED@ PCRE_PCAPS="WebattackRCE.pcap" +NBPF_ENABLED=@NBPF_ENABLED@ +NBPF_PCAPS="h323-overflow.pcap" READER="${CMD_PREFIX} ../example/ndpiReader${EXE_SUFFIX} -A -p ../example/protos.txt -c ../example/categories.txt -r ../example/risky_domains.txt -j ../example/ja3_fingerprints.csv -S ../example/sha1_fingerprints.csv" RC=0 @@ -80,6 +82,14 @@ check_results() { fi done fi + if [ $NBPF_ENABLED -eq 0 ]; then + for p in $NBPF_PCAPS; do + if [ $f = $p ]; then + SKIP_PCAP=1 + break + fi + done + fi if [ $SKIP_PCAP -eq 1 ]; then printf "%-32s\tSKIPPED\n" "$f" continue |