From 6513a64762033249ba4c1d34752fd739ef4a05f6 Mon Sep 17 00:00:00 2001 From: lns Date: Sun, 24 Sep 2023 21:15:50 +0200 Subject: Added HAProxy protocol. * fixed tests/do.sh.in failure print Signed-off-by: lns Signed-off-by: Toni Uhlig --- tests/do.sh.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/do.sh.in') 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 -- cgit v1.2.3