diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-09-18 17:27:15 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-09-18 17:27:15 (GMT) |
commit | efaf7dea67a8c861123952c37e5cf6ac210116e9 (patch) | |
tree | f7b4d8d7131efb3354884cbb691561857ffe0941 /test/unlink.c | |
parent | 2a6053435c5eacb68aec6c5b8f03d62f4d789e43 (diff) | |
download | hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.zip hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.gz hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.bz2 |
HDFFV-10903 merge dev changes to 1.10
Diffstat (limited to 'test/unlink.c')
-rw-r--r-- | test/unlink.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/test/unlink.c b/test/unlink.c index f79aa29..6825dec 100644 --- a/test/unlink.c +++ b/test/unlink.c @@ -2421,17 +2421,13 @@ error: /*------------------------------------------------------------------------- * Function: main * - * Purpose: Test unlinking operations + * Purpose: Test unlinking operations * - * Return: Success: zero - * - * Failure: non-zero + * Return: EXIT_SUCCESS/EXIT_FAILURE * * Programmer: Robb Matzke * Friday, September 25, 1998 * - * Modifications: - * *------------------------------------------------------------------------- */ int @@ -2551,16 +2547,16 @@ main(void) if (nerrors) { HDprintf("***** %d FAILURE%s! *****\n", nerrors, 1==nerrors?"":"S"); - exit(EXIT_FAILURE); + HDexit(EXIT_FAILURE); } HDputs("All unlink tests passed."); h5_cleanup(FILENAME, fapl); - return 0; + HDexit(EXIT_SUCCESS); error: - return 1; -} + HDexit(EXIT_FAILURE); +} /* end main() */ |