From 371b8ce66e0d3a5b465e7137192ec72bc07ea783 Mon Sep 17 00:00:00 2001 From: Richard T Bonhomme Date: Thu, 24 Feb 2022 19:13:19 +0000 Subject: [PATCH] Use expected_errors() correctly Signed-off-by: Richard T Bonhomme --- dev/easytls-unit-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/easytls-unit-tests.sh b/dev/easytls-unit-tests.sh index d10fb98..adf8ba0 100755 --- a/dev/easytls-unit-tests.sh +++ b/dev/easytls-unit-tests.sh @@ -935,7 +935,7 @@ DBUG_DIR="$WORK_DIR/et-tdir1/easytls/metadata" print "------------------------------------------------------------" print "${INVOKE_OPTS} $EASYTLS_CMD" --batch disable "$c" ${INVOKE_OPTS} "$EASYTLS_CMD" --batch disable "$c" || { - expected_errors "${INVOKE_OPTS} $EASYTLS_CMD --batch disable $c" + expected_errors $? special_errors="$(( special_errors + 1 ))" }