BUg fix: HDFFV-8881

testfrome.c has incorrectly exit code (using -1). Fixed by replacing them
with C defined EXIT_FAILURE. Verified by temporary decreaing MAXNUMTESTS
to introduce failure in testhdf to see the changed code did work.
Also replaced all other correctly coded exit codes with the C defined
EXIT_SUCCESS and EXIT_FAILURE. This would help portability for non-Unix
systems.

Tested: h5committest.


git-svn-id: https://svn.hdfgroup.uiuc.edu/hdf5/trunk@25465 dab4d1a6-ed17-0410-a064-d1ae371a2980
some code refactoring to align trunk with VOL branch.

tested with h5committest.



git-svn-id: https://svn.hdfgroup.uiuc.edu/hdf5/trunk@25468 dab4d1a6-ed17-0410-a064-d1ae371a2980