summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:27:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-18 17:27:15 (GMT)
commitefaf7dea67a8c861123952c37e5cf6ac210116e9 (patch)
treef7b4d8d7131efb3354884cbb691561857ffe0941 /test/links.c
parent2a6053435c5eacb68aec6c5b8f03d62f4d789e43 (diff)
downloadhdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.zip
hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.gz
hdf5-efaf7dea67a8c861123952c37e5cf6ac210116e9.tar.bz2
HDFFV-10903 merge dev changes to 1.10
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/links.c b/test/links.c
index 8c0eea7..0bdb3f0 100644
--- a/test/links.c
+++ b/test/links.c
@@ -13894,8 +13894,7 @@ error:
*
* Purpose: Test links
*
- * Return: Success: exit(EXIT_SUCCESS)
- * Failure: exit(EXIT_FAILURE)
+ * Return: EXIT_SUCCESS/EXIT_FAILURE
*-------------------------------------------------------------------------
*/
int
@@ -14124,10 +14123,10 @@ main(void)
HDrmdir(TMPDIR);
HDrmdir(TMPDIR2);
- return SUCCEED;
+ HDexit(EXIT_SUCCESS);
error:
HDputs("*** TESTS FAILED ***");
- return 1;
+ HDexit(EXIT_FAILURE);
}