summaryrefslogtreecommitdiffstats
path: root/test/farray.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-09-15 22:13:18 (GMT)
committerGitHub <noreply@github.com>2023-09-15 22:13:18 (GMT)
commit44a00ef876ad3e1922847e93feac57c479217fbe (patch)
tree5e9fc677913a06a71eba1342633f92e93bd07a6c /test/farray.c
parent59a90368cdb696205bdf15040d1a48b4f69af97f (diff)
downloadhdf5-44a00ef876ad3e1922847e93feac57c479217fbe.zip
hdf5-44a00ef876ad3e1922847e93feac57c479217fbe.tar.gz
hdf5-44a00ef876ad3e1922847e93feac57c479217fbe.tar.bz2
Strip HD prefix from string/char C API calls (#3540)
* Strip HD prefix from string/char C API calls * HD(f)(put|get)(s|c) * HDstr* * HDv*printf * HD(s)(print|scan)f * HDperror But NOT: * HDstrcase* * HDvasprintf * HDstrtok_r * HDstrndup As those are not C99 and have portability work-around implementations. They will be handled later. * Fix th5_system.c screwup
Diffstat (limited to 'test/farray.c')
-rw-r--r--test/farray.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/farray.c b/test/farray.c
index d9c2d03..791cb54 100644
--- a/test/farray.c
+++ b/test/farray.c
@@ -491,7 +491,7 @@ test_create(hid_t fapl, H5FA_create_t *cparam, farray_test_param_t H5_ATTR_UNUSE
}
#else /* NDEBUG */
SKIPPED();
- HDputs(" Not tested when assertions are disabled");
+ puts(" Not tested when assertions are disabled");
#endif /* NDEBUG */
/*
@@ -1678,12 +1678,12 @@ main(void)
switch (curr_test) {
/* "Normal" testing parameters */
case FARRAY_TEST_NORMAL:
- HDputs("Testing with NORMAL PARAMETERS");
+ puts("Testing with NORMAL PARAMETERS");
break;
/* "Re-open array" testing parameters */
case FARRAY_TEST_REOPEN:
- HDputs("Testing with reopen array flag set");
+ puts("Testing with reopen array flag set");
tparam.reopen_array = FARRAY_TEST_REOPEN;
break;
@@ -1710,25 +1710,25 @@ main(void)
switch (curr_iter) {
/* "Forward" testing parameters */
case FARRAY_ITER_FW:
- HDputs("Testing with forward iteration");
+ puts("Testing with forward iteration");
tparam.fiter = &fa_iter_fw;
break;
/* "Reverse" testing parameters */
case FARRAY_ITER_RV:
- HDputs("Testing with reverse iteration");
+ puts("Testing with reverse iteration");
tparam.fiter = &fa_iter_rv;
break;
/* "Random" testing parameters */
case FARRAY_ITER_RND:
- HDputs("Testing with random iteration");
+ puts("Testing with random iteration");
tparam.fiter = &fa_iter_rnd;
break;
/* "Cyclic" testing parameters */
case FARRAY_ITER_CYC:
- HDputs("Testing with cyclic iteration");
+ puts("Testing with cyclic iteration");
tparam.fiter = &fa_iter_cyc;
break;
@@ -1782,7 +1782,7 @@ main(void)
if (nerrors)
goto error;
- HDputs("All fixed array tests passed.");
+ puts("All fixed array tests passed.");
/* Clean up file used */
h5_cleanup(FILENAME, fapl);
@@ -1790,7 +1790,7 @@ main(void)
exit(EXIT_SUCCESS);
error:
- HDputs("*** TESTS FAILED ***");
+ puts("*** TESTS FAILED ***");
H5E_BEGIN_TRY
{