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/hyperslab.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/hyperslab.c')
-rw-r--r-- | test/hyperslab.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/hyperslab.c b/test/hyperslab.c index 9ba5731..065d001 100644 --- a/test/hyperslab.c +++ b/test/hyperslab.c @@ -1188,9 +1188,9 @@ error: * `small' and/or `medium' on the command line or only `small' * is assumed. * - * Return: Success: exit(0) + * Return: Success: exit(EXIT_SUCCESS) * - * Failure: exit(non-zero) + * Failure: exit(EXIT_FAILURE) * * Programmer: Robb Matzke * Friday, October 10, 1997 @@ -1217,7 +1217,7 @@ main(int argc, char *argv[]) size_of_test |= TEST_MEDIUM; else { printf("unrecognized argument: %s\n", argv[i]); - HDexit(1); + HDexit(EXIT_FAILURE); } /* end else */ } /* end for */ } /* end else */ @@ -1437,7 +1437,7 @@ main(int argc, char *argv[]) == nerrors ? "" : "S"); if(HDisatty(1)) printf("(Redirect output to a pager or a file to see debug output)\n"); - HDexit(1); + HDexit(EXIT_FAILURE); } /* end if */ printf("All hyperslab tests passed.\n"); |