diff options
author | Frank Willmore <Frank.Willmore@hdfgroup.org> | 2016-11-03 21:28:29 (GMT) |
---|---|---|
committer | Frank Willmore <Frank.Willmore@hdfgroup.org> | 2016-11-03 21:28:29 (GMT) |
commit | b2948d9f97958dba883a9c0d3f80bf9c7df9fe42 (patch) | |
tree | 6e945006110b6fd5e6ae67cc8568e8dce870a0cb /test/filter_fail.c | |
parent | 7ac8215cbffbf1a3c0000cc0b5ade502040b25be (diff) | |
parent | 526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850 (diff) | |
download | hdf5-b2948d9f97958dba883a9c0d3f80bf9c7df9fe42.zip hdf5-b2948d9f97958dba883a9c0d3f80bf9c7df9fe42.tar.gz hdf5-b2948d9f97958dba883a9c0d3f80bf9c7df9fe42.tar.bz2 |
Merge pull request #100 in HDFFV/hdf5 from ~FRANK.WILLMORE/hdf5:HDFFV-8882-replace-numeric-exit-code-with to develop
* commit '526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850':
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
Diffstat (limited to 'test/filter_fail.c')
-rw-r--r-- | test/filter_fail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/filter_fail.c b/test/filter_fail.c index c7248cc..f165d8a 100644 --- a/test/filter_fail.c +++ b/test/filter_fail.c @@ -349,8 +349,8 @@ error: * Purpose: Tests the library's behavior when a mandate filter returns * failure. * - * Return: Success: exit(0) - * Failure: exit(1) + * Return: Success: exit(EXIT_SUCCESS) + * Failure: exit(EXIT_FAILURE) * * Programmer: Raymond Lu * 25 August 2010 @@ -406,6 +406,6 @@ error: if (nerrors) { printf("***** %u FAILURE%s! *****\n", nerrors, 1==nerrors?"":"S"); - HDexit(1); + HDexit(EXIT_FAILURE); } } |