summaryrefslogtreecommitdiffstats
path: root/test/dangle.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dangle.c')
-rw-r--r--test/dangle.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/dangle.c b/test/dangle.c
index c589448..490bb2f 100644
--- a/test/dangle.c
+++ b/test/dangle.c
@@ -634,13 +634,13 @@ main(void)
/* Don't run this test with the multi/split VFD. A bug in library shutdown
* ordering causes problems with the multi VFD when IDs are left dangling.
*/
- if (!HDstrcmp(env_h5_drvr, "multi") || !HDstrcmp(env_h5_drvr, "split")) {
- HDputs(" -- SKIPPED for incompatible VFD --");
+ if (!strcmp(env_h5_drvr, "multi") || !strcmp(env_h5_drvr, "split")) {
+ puts(" -- SKIPPED for incompatible VFD --");
return 0;
}
/* Run tests w/weak file close */
- HDputs("Testing dangling objects with weak file close:");
+ puts("Testing dangling objects with weak file close:");
nerrors += test_dangle_dataset(H5F_CLOSE_WEAK);
nerrors += test_dangle_group(H5F_CLOSE_WEAK);
nerrors += test_dangle_datatype1(H5F_CLOSE_WEAK);
@@ -648,7 +648,7 @@ main(void)
nerrors += test_dangle_attribute(H5F_CLOSE_WEAK);
/* Run tests w/semi file close */
- HDputs("Testing dangling objects with semi file close:");
+ puts("Testing dangling objects with semi file close:");
nerrors += test_dangle_dataset(H5F_CLOSE_SEMI);
nerrors += test_dangle_group(H5F_CLOSE_SEMI);
nerrors += test_dangle_datatype1(H5F_CLOSE_SEMI);
@@ -656,7 +656,7 @@ main(void)
nerrors += test_dangle_attribute(H5F_CLOSE_SEMI);
/* Run tests w/strong file close */
- HDputs("Testing dangling objects with strong file close:");
+ puts("Testing dangling objects with strong file close:");
nerrors += test_dangle_dataset(H5F_CLOSE_STRONG);
nerrors += test_dangle_group(H5F_CLOSE_STRONG);
nerrors += test_dangle_datatype1(H5F_CLOSE_STRONG);
@@ -669,11 +669,11 @@ main(void)
/* Check for errors */
if (nerrors)
goto error;
- HDputs("All dangling ID tests passed.");
+ puts("All dangling ID tests passed.");
return 0;
error:
- HDputs("***** DANGLING ID TESTS FAILED *****");
+ puts("***** DANGLING ID TESTS FAILED *****");
return 1;
}