hdf5/test/testfiles/error_test_1
Quincey Koziol fda3252166 [svn-r9839] Purpose:
Bug fix

Description:
    Don't print very long description, check that it's correct internally.

Platforms tested:
    Linux 2.4 (heping)
    Solaris 2.7 (arabica)
2005-01-19 15:15:26 -05:00

32 lines
1.4 KiB
Plaintext

#############################
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 (IDs):
#000: (file name) line (number) 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: (file name) in error_stack(): line (number)
class: Error Test
major: Error in API
minor: Error in H5Eget_num
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
minor: Inappropriate type
Error Test-DIAG: Error detected in Error Program (1.0) thread (IDs):
#000: (file name) line (number) in main(): Error test failed, it's wrong
major: Error in test
minor: Error in subroutine
#001: (file name) line (number) in test_error(): H5Dwrite failed as supposed to
major: Error in IO
minor: Error in H5Dwrite
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#002: (file name) line (number) in H5Dwrite(): not a dataset
major: Invalid arguments to routine
minor: Inappropriate type