diff options
author | lns <matzeton@googlemail.com> | 2022-05-05 13:04:44 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2022-05-06 22:30:58 +0200 |
commit | a41086043385e821c0340e0886a7c5175a1f490e (patch) | |
tree | 99420499b9b2edbcba8bcf8e1400446518042152 /tests/do.sh.in | |
parent | 2e0dedbaae24a8662a494e15fe47a67ea30fdcec (diff) |
Added Edgecast and Cachefly CDNs.add/edgecast_and_cachefly_cdn
* Improved ASN update script
* Ran `utils/update_every_lists.sh'
* `tests/do.sh.in' prints the amount of failed pcap(s)
* `utils/asn_update.sh' prints the amount of failed download(s)
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'tests/do.sh.in')
-rwxr-xr-x | tests/do.sh.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/do.sh.in b/tests/do.sh.in index 120b66b28..65716c057 100755 --- a/tests/do.sh.in +++ b/tests/do.sh.in @@ -76,7 +76,7 @@ check_results() { NUM_DIFF=`diff result/$f.out /tmp/reader.out | wc -l` else printf "%-48s\tERROR (ndpiReader${EXE_SUFFIX} exit code: ${CMD_RET})\n" "$f" - RC=1 + RC=$(( RC + 1 )) continue fi @@ -86,7 +86,7 @@ check_results() { printf "%-48s\tERROR\n" "$f" echo "$CMD [old vs new]" diff result/$f.out /tmp/reader.out - RC=1 + RC=$(( RC + 1 )) fi /bin/rm -f /tmp/reader.out @@ -100,4 +100,6 @@ fi build_results check_results $* +test ${RC} -ne 0 && printf '%s: %s\n' "${0}" "${RC} pcap(s) failed" + exit $RC |