summaryrefslogtreecommitdiffstats
path: root/test/reserved.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/reserved.c')
-rw-r--r--test/reserved.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/reserved.c b/test/reserved.c
index f9d1c7f..ff37baf 100644
--- a/test/reserved.c
+++ b/test/reserved.c
@@ -64,7 +64,7 @@ rsrv_heap(void)
}
H5E_END_TRY
- HDsnprintf(dset_name, sizeof(dset_name), "Dset %d", i);
+ snprintf(dset_name, sizeof(dset_name), "Dset %d", i);
H5E_BEGIN_TRY
{
@@ -108,7 +108,7 @@ rsrv_heap(void)
if (H5open() < 0)
TEST_ERROR;
- HDsnprintf(dset_name, sizeof(dset_name), "Dset %d", i - 2);
+ snprintf(dset_name, sizeof(dset_name), "Dset %d", i - 2);
file_id = H5Fopen(filename, H5F_ACC_RDONLY, H5P_DEFAULT);
if (file_id < 0)
@@ -205,7 +205,7 @@ rsrv_ohdr(void)
} /* end for */
for (i = 0; i < 2000; i++) {
- HDsnprintf(attrname, sizeof(attrname), "attr %d", i);
+ snprintf(attrname, sizeof(attrname), "attr %d", i);
H5E_BEGIN_TRY
{
aid = H5Screate_simple(2, dims, NULL);
@@ -470,8 +470,8 @@ main(void)
if (envval == NULL)
envval = "nomatch";
/* QAK: should be able to use the core driver? */
- if (HDstrcmp(envval, "core") && HDstrcmp(envval, "split") && HDstrcmp(envval, "multi") &&
- HDstrcmp(envval, "family")) {
+ if (strcmp(envval, "core") && strcmp(envval, "split") && strcmp(envval, "multi") &&
+ strcmp(envval, "family")) {
num_errs += rsrv_ohdr();
num_errs += rsrv_heap();
num_errs += rsrv_vlen();
@@ -479,14 +479,14 @@ main(void)
if (num_errs > 0)
printf("**** %d FAILURE%s! ****\n", num_errs, num_errs == 1 ? "" : "S");
else
- HDputs("All address space reservation tests passed.");
+ puts("All address space reservation tests passed.");
fapl = h5_fileaccess();
h5_cleanup(FILENAME, fapl);
return num_errs;
}
else {
- HDputs("All address space reservation tests skipped - Incompatible with current Virtual File Driver");
+ puts("All address space reservation tests skipped - Incompatible with current Virtual File Driver");
}
#endif /* BROKEN */