summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/err_compat.c6
-rw-r--r--test/testfiles/err_compat_14
2 files changed, 7 insertions, 3 deletions
diff --git a/test/err_compat.c b/test/err_compat.c
index 4860a3c..f3e11bb 100644
--- a/test/err_compat.c
+++ b/test/err_compat.c
@@ -238,7 +238,7 @@ test_error1(void)
herr_t ret;
TESTING("error API H5Eset/get_auto");
- fprintf(stderr, "\n");
+ printf("\n");
/* Create the data space */
dims[0] = DIM0;
@@ -335,6 +335,7 @@ test_error1(void)
if(dataset >= 0)
TEST_ERROR;
+ fprintf(stderr, "\n");
return 0;
error:
@@ -367,7 +368,7 @@ test_error2(hid_t file)
const char *FUNC_test_error="test_error2";
TESTING("error API based on data I/O");
- fprintf(stderr, "\n");
+ printf("\n");
/* Create the data space */
dims[0] = DIM0;
@@ -485,6 +486,7 @@ main(void)
/* Print out the errors on stack */
dump_error();
+ fprintf(stderr, "\n");
/* Empty error stack */
H5Eclear1();
diff --git a/test/testfiles/err_compat_1 b/test/testfiles/err_compat_1
index d81dba1..6c861a2 100644
--- a/test/testfiles/err_compat_1
+++ b/test/testfiles/err_compat_1
@@ -1,4 +1,6 @@
-Testing error API H5Eset/get_auto Testing error API based on data I/O All error API tests passed.
+Testing error API H5Eset/get_auto
+Testing error API based on data I/O
+All error API tests passed.
This program tests the Error API compatible with HDF5 version (number). There are supposed to be some error messages
********* Print error stack in HDF5 default way *********
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):