Skip to content

Commit

Permalink
Use expected_errors() correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Feb 24, 2022
1 parent b1323a5 commit 371b8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/easytls-unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ))"
}

Expand Down

0 comments on commit 371b8ce

Please sign in to comment.