aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh.in
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2023-09-24 21:15:50 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-10-02 17:51:31 +0200
commit6513a64762033249ba4c1d34752fd739ef4a05f6 (patch)
tree05b3030656f75da6bed6c18f35766fb7f7dcfb8c /tests/do.sh.in
parent725fcf4852f06e2f54469c2439d13169d5d68d09 (diff)
Added HAProxy protocol.add/haproxy
* fixed tests/do.sh.in failure print Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/do.sh.in')
-rwxr-xr-xtests/do.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/do.sh.in b/tests/do.sh.in
index 4ce47368c..23db33a3c 100755
--- a/tests/do.sh.in
+++ b/tests/do.sh.in
@@ -164,8 +164,8 @@ for d in $(find ./cfgs/* -type d -maxdepth 0 2>/dev/null) ; do
build_results
check_results $*
- test ${RC} -ne 0 && printf '%s: %s\n' "${0}" "${RC} pcap(s) failed"
- test ${RC} -ne 0 && echo "Failed: ${FAILURES[@]}"
+ test ${#FAILURES} -ne 0 && printf '%s: %s\n' "${0}" "${RC} pcap(s) failed"
+ test ${#FAILURES} -ne 0 && echo "Failed: ${FAILURES[@]}"
cd ../../
done