diff options
author | Frank.Willmore <frank.willmore@jelly.ad.hdfgroup.org> | 2016-10-25 14:53:44 (GMT) |
---|---|---|
committer | Frank.Willmore <frank.willmore@jelly.ad.hdfgroup.org> | 2016-10-25 14:53:44 (GMT) |
commit | 526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850 (patch) | |
tree | be45f92823727f650b998a6a941918d43c998056 /test/istore.c | |
parent | b6bb7c123a02570a33f02257d738e50195dbeb3a (diff) | |
download | hdf5-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/istore.c')
-rw-r--r-- | test/istore.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/istore.c b/test/istore.c index 68668d8..f6b83c9 100644 --- a/test/istore.c +++ b/test/istore.c @@ -585,9 +585,9 @@ error: * * Purpose: Tests indexed storage stuff. * - * Return: Success: exit(0) + * Return: Success: exit(EXIT_SUCCESS) * - * Failure: exit(non-zero) + * Failure: exit(EXIT_FAILURE) * * Programmer: Robb Matzke * Wednesday, October 15, 1997 @@ -623,7 +623,7 @@ main(int argc, char *argv[]) } else { printf("unrecognized argument: %s\n", argv[i]); #if 0 - exit(1); + exit(EXIT_FAILURE); #endif } } @@ -658,7 +658,7 @@ main(int argc, char *argv[]) h5_fixname(FILENAME[0], fapl, filename, sizeof filename); if ((file=H5Fcreate(filename, H5F_ACC_TRUNC, fcpl, fapl)) < 0) { printf("Cannot create file %s; test aborted\n", filename); - exit(1); + exit(EXIT_FAILURE); } /* Initialize chunk dimensions */ @@ -726,7 +726,7 @@ main(int argc, char *argv[]) if (nerrors) { printf("***** %d I-STORE TEST%s FAILED! *****\n", nerrors, 1 == nerrors ? "" : "S"); - exit(1); + exit(EXIT_FAILURE); } printf("All i-store tests passed.\n"); |