diff options
Diffstat (limited to 'test/filenotclosed.c')
-rw-r--r-- | test/filenotclosed.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/filenotclosed.c b/test/filenotclosed.c index 7f4d5d7..a2b0bdb 100644 --- a/test/filenotclosed.c +++ b/test/filenotclosed.c @@ -34,7 +34,7 @@ static void catch_signal(int H5_ATTR_UNUSED signo) { - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } /* catch_signal() */ /*------------------------------------------------------------------------- @@ -80,7 +80,7 @@ main(void) if (!contig_addr_vfd) { SKIPPED(); HDputs(" Temporary skipped for a spilt/multi driver"); - HDexit(EXIT_SUCCESS); + exit(EXIT_SUCCESS); } h5_reset(); @@ -136,9 +136,9 @@ main(void) /* The file is not closed. */ /* The library will call H5_term_library to shut down the library. */ - HDexit(EXIT_SUCCESS); + exit(EXIT_SUCCESS); error: HDputs("*** TEST FAILED ***"); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } |