summaryrefslogtreecommitdiffstats
path: root/test/testfiles/err_compat_1
blob: 4c32d430419c01ce3f64a9d3fb146ca50764509d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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):
  #000: (file name) line (number) in main(): fake error message 1
    major: Error API
    minor: Bad value

********* Print error stack in customized way *********
    error #000: (file name) in main(): line (number)
        major: Error API
        minor: Bad value
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
  #000: (file name) line (number) in H5Dcreate2(): not a location ID
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: (file name) line (number) in H5G_loc(): invalid location ID
    major: Invalid arguments to routine
    minor: Bad value

********* Print error stack in customized way *********
    error #000: (file name) in H5G_loc(): line (number)
        major: Invalid arguments to routine
        minor: Bad value
    error #001: (file name) in H5Dcreate2(): line (number)
        major: Invalid arguments to routine
        minor: Inappropriate type

********* Print error stack in customized way *********
    error #000: (file name) in H5Eget_auto(1 or 2)(): line (number)
        major: Error API
        minor: Can't get value

********* Print error stack in customized way *********
    error #000: (file name) in H5G_loc(): line (number)
        major: Invalid arguments to routine
        minor: Bad value
    error #001: (file name) in H5Dcreate2(): line (number)
        major: Invalid arguments to routine
        minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
  #000: (file name) line (number) in H5Dcreate2(): not a location ID
    major: Invalid arguments to routine
    minor: Inappropriate type
  #001: (file name) line (number) in H5G_loc(): invalid location ID
    major: Invalid arguments to routine
    minor: Bad value
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
  #000: (file name) line (number) in main(): fake error message 2
    major: Error API
    minor: Unrecognized message
  #001: (file name) line (number) in test_h5epush1(): expected H5Dwrite error
    major: Error API
    minor: Write failed
  #002: (file name) line (number) in H5Dwrite(): dset_id is not a dataset ID
    major: Invalid arguments to routine
    minor: Inappropriate type