summaryrefslogtreecommitdiffstats
path: root/test/links_env.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 20:43:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 20:43:30 (GMT)
commit1e91d96fa02466ffe451319bdac1005f84dc7993 (patch)
tree4de04ef502c313dfd766497b20235188761146c0 /test/links_env.c
parent95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff)
downloadhdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'test/links_env.c')
-rw-r--r--test/links_env.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/links_env.c b/test/links_env.c
index 27e29ea..ca65ef8 100644
--- a/test/links_env.c
+++ b/test/links_env.c
@@ -161,7 +161,7 @@ main(void)
/* Splitter VFD has issues with external links */
if (!HDstrcmp(env_h5_drvr, "splitter")) {
HDputs(" -- SKIPPED for incompatible VFD --");
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
}
h5_reset();
@@ -182,18 +182,18 @@ main(void)
/* Results */
if (nerrors) {
- HDprintf("***** %d External Link (HDF5_EXT_PREFIX) test%s FAILED! *****\n", nerrors,
- 1 == nerrors ? "" : "s");
- HDexit(EXIT_FAILURE);
+ printf("***** %d External Link (HDF5_EXT_PREFIX) test%s FAILED! *****\n", nerrors,
+ 1 == nerrors ? "" : "s");
+ exit(EXIT_FAILURE);
}
- HDprintf("All external Link (HDF5_EXT_PREFIX) tests passed.\n");
+ printf("All external Link (HDF5_EXT_PREFIX) tests passed.\n");
/* clean up tmp_links_env directory created by external link tests */
HDrmdir(TMPDIR);
- HDexit(EXIT_SUCCESS);
+ exit(EXIT_SUCCESS);
error:
HDputs("*** TESTS FAILED ***");
- HDexit(EXIT_FAILURE);
+ exit(EXIT_FAILURE);
} /* end main() */