summaryrefslogtreecommitdiffstats
path: root/test/API/testhdf5.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/API/testhdf5.c')
-rw-r--r--test/API/testhdf5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/API/testhdf5.c b/test/API/testhdf5.c
index e863e38..fcbf642 100644
--- a/test/API/testhdf5.c
+++ b/test/API/testhdf5.c
@@ -722,10 +722,10 @@ main(int argc, char *argv[])
/* No need to print anything since PerformTests() already does. */
if (nerrors /* GetTestNumErrs() */ > 0) {
printf("** HDF5 tests failed with %d errors **\n", nerrors);
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
}
else {
printf("** HDF5 tests ran successfully **\n");
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
}
} /* end main() */