build-sys: added a 'test_Itemtables' to testing scheme

This change sets the stage for exploiting the recently
added ITEMTABLE_DEBUG #define. All tests are performed
in a single module (after trying 6 separate programs).

The chances of each test detecting errors is extremely
remote (at least while I'm maintaining these modules).
However, this single program approach has one flaw and
it relates to the response whenever an error is found.

Each of those six new API modules calls Exit() if they
detect an error. Otherwise, incorrect results would be
produced at the least or an abend encountered at most.

This means that multiple 'make check' invocations will
be needed if more than 1 module actually was in error.

All in all, it is a small price for a large assurance.

Reference(s):
https://www.freelists.org/post/procps/keep-on-patchin,7

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2020-08-15 12:12:12 -05:00
committed by Craig Small
parent 2c89119668
commit e616409aa4
3 changed files with 96 additions and 0 deletions

1
proc/.gitignore vendored
View File

@@ -1,3 +1,4 @@
test_Itemtables
test_namespace
test_pids
test_sysinfo