summaryrefslogtreecommitdiffstats
path: root/test/testfiles
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2009-04-22 18:39:10 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2009-04-22 18:39:10 (GMT)
commitbe8cb6411aef28ebdf3c7f757a881ea984f4411d (patch)
treeb3f378e0fda9ce84b6179acfe23e28338303cd43 /test/testfiles
parent37906de73c0d52a3ae18d4683fa7517cda57c04c (diff)
downloadhdf5-be8cb6411aef28ebdf3c7f757a881ea984f4411d.zip
hdf5-be8cb6411aef28ebdf3c7f757a881ea984f4411d.tar.gz
hdf5-be8cb6411aef28ebdf3c7f757a881ea984f4411d.tar.bz2
[svn-r16835] Allow an error class to use other class's major or minor errors. Added a test for it, too.
Tested on jam - simple change.
Diffstat (limited to 'test/testfiles')
-rw-r--r--test/testfiles/error_test_113
1 files changed, 11 insertions, 2 deletions
diff --git a/test/testfiles/error_test_1 b/test/testfiles/error_test_1
index 20f669d..308ca07 100644
--- a/test/testfiles/error_test_1
+++ b/test/testfiles/error_test_1
@@ -1,11 +1,16 @@
#############################
Expected output for error_test
#############################
-Testing error API based on data I/O All error API tests passed.
+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 *********
+Second Test-DIAG: Error detected in Second Program (1.0) thread (IDs):
+ #000: (file name) line (number) in main(): Error stack test failed
+ major: Error in test
+ minor: Error in error stack
Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs):
- #000: (file name) line (number) in error_stack(): Get number test failed, returned 0
+ #001: (file name) line (number) in error_stack(): Get number test failed, returned 0
major: Error in API
minor: Error in H5Eget_num
@@ -14,6 +19,10 @@ Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs):
class: Error Test
major: Error in API
minor: Error in H5Eget_num
+ error #001: (file name) in main(): line (number)
+ class: Second Test
+ major: Error in test
+ minor: Error in error stack
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#000: (file name) line (number) in H5Dwrite(): not a dataset
major: Invalid arguments to routine