summaryrefslogtreecommitdiffstats
path: root/test/testfiles
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-09-24 19:26:50 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-09-24 19:26:50 (GMT)
commit7e79a8d71e6a579710e0fc2c677dfc32336d058f (patch)
treed9b4f93046b8c2930fd35b3ec75953eccf1c1a47 /test/testfiles
parent52f3545bde417a7eaeb996bfc97b58ab32075c73 (diff)
downloadhdf5-7e79a8d71e6a579710e0fc2c677dfc32336d058f.zip
hdf5-7e79a8d71e6a579710e0fc2c677dfc32336d058f.tar.gz
hdf5-7e79a8d71e6a579710e0fc2c677dfc32336d058f.tar.bz2
[svn-r7507] *** empty log message ***
Diffstat (limited to 'test/testfiles')
-rw-r--r--test/testfiles/err_compat_120
-rw-r--r--test/testfiles/err_compat_24
-rw-r--r--test/testfiles/error_test_131
-rw-r--r--test/testfiles/error_test_24
4 files changed, 59 insertions, 0 deletions
diff --git a/test/testfiles/err_compat_1 b/test/testfiles/err_compat_1
new file mode 100644
index 0000000..2fd82e2
--- /dev/null
+++ b/test/testfiles/err_compat_1
@@ -0,0 +1,20 @@
+#############################
+Expected output for err_compat
+#############################
+Testing error API based on data I/O All error API tests passed.
+ This program tests the Error API compatible with HDF5 v1.6. There're supposed to be some error messages
+********* Print error stack in HDF5 default way *********
+HDF5-DIAG: Error detected in HDF5 (1.7.5) thread 0:
+ #000: ../../hdf5/test/err_compat.c line 268 in main(): Error test failed
+ major: Error API
+ minor: Bad value
+
+********* Print error stack in customized way *********
+ error #000: ../../hdf5/test/err_compat.c in main(): line 268
+ major: Error API
+ minor: Bad value
+
+HDF5-DIAG: Error detected in HDF5 (1.7.5) thread 0:
+ #000: ../../hdf5/test/err_compat.c line 280 in main(): Error test failed
+ major: Error API
+ minor: Unrecognized message
diff --git a/test/testfiles/err_compat_2 b/test/testfiles/err_compat_2
new file mode 100644
index 0000000..be6c40d
--- /dev/null
+++ b/test/testfiles/err_compat_2
@@ -0,0 +1,4 @@
+#############################
+Expected output for err_compat
+#############################
+Test skipped because backward compatbility with v1.6 is NOT configured in
diff --git a/test/testfiles/error_test_1 b/test/testfiles/error_test_1
new file mode 100644
index 0000000..9a23e53
--- /dev/null
+++ b/test/testfiles/error_test_1
@@ -0,0 +1,31 @@
+#############################
+Expected output for error_test
+#############################
+Testing error API based on data I/O All error API tests passed.
+ This program tests the Error API. There're supposed to be some error messages
+********* Print error stack in HDF5 default way *********
+Error Test-DIAG: Error detected in Error Program (1.0) thread 0:
+ #000: ../../hdf5/test/error_test.c line 272 in error_stack(): Get number test failed, returned 0
+ major: Error in API
+ minor: Error in H5Eget_num
+
+********* Print error stack in customized way *********
+ error #000: ../../hdf5/test/error_test.c in error_stack(): line 272
+ class: Error Test
+ major: Error in API
+ minor: Error in H5Eget_num
+HDF5-DIAG: Error detected in HDF5 (1.7.5) thread 0:
+ #000: ../../hdf5/src/H5Dio.c line 420 in H5Dwrite(): not a dataset
+ major: Invalid arguments to routine
+ minor: Inappropriate type
+Error Test-DIAG: Error detected in Error Program (1.0) thread 0:
+ #000: ../../hdf5/test/error_test.c line 468 in main(): Error test failed, it's wrong
+ major: Error in test
+ minor: Error in subroutine
+ #001: ../../hdf5/test/error_test.c line 150 in test_error(): H5Dwrite failed as supposed to
+ major: Error in IO
+ minor: Error in H5Dwrite
+HDF5-DIAG: Error detected in HDF5 (1.7.5) thread 0:
+ #002: ../../hdf5/src/H5Dio.c line 420 in H5Dwrite(): not a dataset
+ major: Invalid arguments to routine
+ minor: Inappropriate type
diff --git a/test/testfiles/error_test_2 b/test/testfiles/error_test_2
new file mode 100644
index 0000000..f9d7317
--- /dev/null
+++ b/test/testfiles/error_test_2
@@ -0,0 +1,4 @@
+#############################
+Expected output for error_test
+#############################
+Test skipped because backward compatbility with v1.6 is configured in