summaryrefslogtreecommitdiffstats
path: root/test/hyperslab.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:18:01 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:18:01 (GMT)
commit9f430d15b004495d17826840ef1a4f281215c7f9 (patch)
treeeddd0bd281a80adb336403582bd236c6a24b0dc6 /test/hyperslab.c
parenta5f1fb01b9ef867cf94158cdb42ffb1d46bae916 (diff)
downloadhdf5-9f430d15b004495d17826840ef1a4f281215c7f9.zip
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.gz
hdf5-9f430d15b004495d17826840ef1a4f281215c7f9.tar.bz2
Rename HDexit() and related to exit(), etc. (#3202)
* HDatexit * HDexit * HD_exit
Diffstat (limited to 'test/hyperslab.c')
-rw-r--r--test/hyperslab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hyperslab.c b/test/hyperslab.c
index 47fb676..82baee3 100644
--- a/test/hyperslab.c
+++ b/test/hyperslab.c
@@ -1168,7 +1168,7 @@ main(int argc, char *argv[])
size_of_test |= TEST_MEDIUM;
else {
printf("unrecognized argument: %s\n", argv[i]);
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end else */
} /* end for */
} /* end else */
@@ -1385,7 +1385,7 @@ main(int argc, char *argv[])
printf("***** %d HYPERSLAB TEST%s FAILED! *****\n", nerrors, 1 == nerrors ? "" : "S");
if (HDisatty(1))
printf("(Redirect output to a pager or a file to see debug output)\n");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end if */
printf("All hyperslab tests passed.\n");
@@ -1394,5 +1394,5 @@ main(int argc, char *argv[])
H5close();
#endif /* H5_HAVE_THREADSAFE */
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
}