summaryrefslogtreecommitdiffstats
path: root/test/links.c
diff options
context:
space:
mode:
authorFrank.Willmore <frank.willmore@jelly.ad.hdfgroup.org>2016-10-25 14:53:44 (GMT)
committerFrank.Willmore <frank.willmore@jelly.ad.hdfgroup.org>2016-10-25 14:53:44 (GMT)
commit526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850 (patch)
treebe45f92823727f650b998a6a941918d43c998056 /test/links.c
parentb6bb7c123a02570a33f02257d738e50195dbeb3a (diff)
downloadhdf5-526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850.zip
hdf5-526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850.tar.gz
hdf5-526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850.tar.bz2
Changes to be committed:
modified: bittests.c modified: cmpd_dset.c modified: dsets.c modified: dt_arith.c modified: dtypes.c modified: extend.c modified: fillval.c modified: filter_fail.c modified: flush1.c modified: gen_cross.c modified: hyperslab.c modified: istore.c modified: links.c modified: links_env.c modified: objcopy.c modified: plugin.c modified: tcheck_version.c modified: unlink.c modified: unregister.c Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
Diffstat (limited to 'test/links.c')
-rw-r--r--test/links.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/links.c b/test/links.c
index f60a88a..2c841f0 100644
--- a/test/links.c
+++ b/test/links.c
@@ -14771,9 +14771,9 @@ error:
*
* Purpose: Test links
*
- * Return: Success: exit(0)
+ * Return: Success: exit(EXIT_SUCCESS)
*
- * Failure: exit(non-zero)
+ * Failure: exit(EXIT_FAILURE)
*
* Programmer: Robb Matzke
* Friday, August 14, 1998
@@ -14973,7 +14973,7 @@ main(void)
if(nerrors) {
printf("***** %d LINK TEST%s FAILED! *****\n",
nerrors, 1 == nerrors ? "" : "S");
- HDexit(1);
+ HDexit(EXIT_FAILURE);
}
printf("All link tests passed.\n");