summaryrefslogtreecommitdiffstats
path: root/test/cmpd_dset.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/cmpd_dset.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/cmpd_dset.c')
-rw-r--r--test/cmpd_dset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cmpd_dset.c b/test/cmpd_dset.c
index a7f3902..b44a847 100644
--- a/test/cmpd_dset.c
+++ b/test/cmpd_dset.c
@@ -2219,7 +2219,7 @@ main (int argc, char *argv[])
if (argc>1) {
if (argc>2 || strcmp("--noopt", argv[1])) {
fprintf(stderr, "usage: %s [--noopt]\n", argv[0]);
- exit(1);
+ exit(EXIT_FAILURE);
}
H5Tunregister(H5T_PERS_DONTCARE, NULL, (hid_t)-1, (hid_t)-1, H5T__conv_struct_opt);
}
@@ -2252,7 +2252,7 @@ main (int argc, char *argv[])
if (nerrors) {
printf("***** %u FAILURE%s! *****\n",
nerrors, 1==nerrors?"":"S");
- HDexit(1);
+ HDexit(EXIT_FAILURE);
}
h5_cleanup(FILENAME, fapl_id);