add test 10ddd to verify E_STRING values for calc computation error codes

Added tests to the calc regression test suite (cal/regress.cal) to
verify that the errnum calc computation error codes and their
E_STRING values have not changed.
This commit is contained in:
Landon Curt Noll
2023-09-20 23:10:32 -07:00
parent b741e98b13
commit 5fbb0ad2ea
4 changed files with 579 additions and 2 deletions

View File

@@ -735,7 +735,7 @@ STATIC struct errtbl private_error_alias[] = {
/* The E__NONE entry below must start with E__NONE (0) and must be first!! */
{ E__NONE, "E__NONE", "calc_errno cleared: libc errno codes above here" },
{ E__BASE, "E__BASE", "calc errors start above here" },
{ E__BASE, "E__BASE", "calc computation error codes start above here" },
/* In the next E__HIGHEST entry, errnum and errmsg are changed when verify_error_table() is called */
{ INV_ERRNUM, "E__HIGHEST", "replace this with the E__HIGHEST errmsg" },
{ E__USERDEF, "E__USERDEF", "user defined error codes start here" },