summaryrefslogtreecommitdiffstats
path: root/test/hdfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hdfs.c')
-rw-r--r--test/hdfs.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/hdfs.c b/test/hdfs.c
index c1404f7..c5704a1 100644
--- a/test/hdfs.c
+++ b/test/hdfs.c
@@ -102,7 +102,7 @@
*/
#define JSFAILED_AT() \
{ \
- HDprintf("*FAILED* at %s:%d in %s()...\n", __FILE__, __LINE__, __func__); \
+ printf("*FAILED* at %s:%d in %s()...\n", __FILE__, __LINE__, __func__); \
}
/*----------------------------------------------------------------------------
@@ -193,10 +193,10 @@
{ \
JSFAILED_AT() \
if (reason != NULL) { \
- HDprintf("%s\n", (reason)); \
+ printf("%s\n", (reason)); \
} \
else { \
- HDprintf(" ! Expected %ld\n ! Actual %ld\n", (long)(expected), (long)(actual)); \
+ printf(" ! Expected %ld\n ! Actual %ld\n", (long)(expected), (long)(actual)); \
} \
}
@@ -233,10 +233,10 @@
const char *_reason = reason; \
JSFAILED_AT() \
if (_reason != NULL) { \
- HDprintf("%s\n", _reason); \
+ printf("%s\n", _reason); \
} \
else { \
- HDprintf("!!! Expected:\n%s\n!!!Actual:\n%s\n", (expected), (actual)); \
+ printf("!!! Expected:\n%s\n!!!Actual:\n%s\n", (expected), (actual)); \
} \
}
@@ -855,7 +855,7 @@ test_vfd_open(void)
}
#if HDFS_TEST_DEBUG
- HDfprintf(stderr, "testing: %s\n", T.message);
+ fprintf(stderr, "testing: %s\n", T.message);
#endif /* HDFS_TEST_DEBUG */
H5E_BEGIN_TRY
@@ -865,9 +865,9 @@ test_vfd_open(void)
H5E_END_TRY
if (NULL != fd) {
if (TRUE == T.might_use_other_driver && H5FD_HDFS != fd->driver_id) {
- HDfprintf(stderr, "\n!!!!! WARNING !!!!!\n"
- " Successful open of file on local system "
- "with non-HDFS VFD.\n");
+ fprintf(stderr, "\n!!!!! WARNING !!!!!\n"
+ " Successful open of file on local system "
+ "with non-HDFS VFD.\n");
JSVERIFY(SUCCEED, H5FDclose(fd), "unable to close errant open");
fd = NULL;
}
@@ -880,7 +880,7 @@ test_vfd_open(void)
FAIL_IF(NULL != fd) /* sanity check */
#if HDFS_TEST_DEBUG
- HDfprintf(stderr, "nominal open\n");
+ fprintf(stderr, "nominal open\n");
#endif /* HDFS_TEST_DEBUG */
/* finally, show that a file can be opened
@@ -893,7 +893,7 @@ test_vfd_open(void)
************/
#if HDFS_TEST_DEBUG
- HDfprintf(stderr, "teardown...\n");
+ fprintf(stderr, "teardown...\n");
#endif /* HDFS_TEST_DEBUG */
FAIL_IF(FAIL == H5FDclose(fd))
@@ -1499,7 +1499,7 @@ test_cmp(void)
{
TESTING("HDFS cmp (comparison)");
SKIPPED();
- HDfprintf(stderr, " TODO: Distinct valid fapls to open the same file.\n");
+ fprintf(stderr, " TODO: Distinct valid fapls to open the same file.\n");
return 0;
@@ -1596,7 +1596,7 @@ error:
***********/
#if HDFS_TEST_DEBUG
- HDprintf("\nerror!");
+ printf("\nerror!");
HDfflush(stdout);
#endif /* HDFS_TEST_DEBUG */
@@ -1656,7 +1656,7 @@ main(void)
h5_reset();
- HDprintf("Testing hdfs VFD functionality.\n");
+ printf("Testing hdfs VFD functionality.\n");
nerrors += test_fapl_config_validation();
nerrors += test_hdfs_fapl();
@@ -1669,11 +1669,11 @@ main(void)
nerrors += test_H5F_integration();
if (nerrors > 0) {
- HDprintf("***** %d hdfs TEST%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : "");
+ printf("***** %d hdfs TEST%s FAILED! *****\n", nerrors, nerrors > 1 ? "S" : "");
nerrors = 1;
}
else {
- HDprintf("All hdfs tests passed.\n");
+ printf("All hdfs tests passed.\n");
}
return nerrors; /* 0 if no errors, 1 if any errors */