Skip to content

Commit

Permalink
Update expected error files and scripts to mask off thread ID output
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed Apr 11, 2024
1 parent b501f12 commit fb96805
Show file tree
Hide file tree
Showing 27 changed files with 89 additions and 89 deletions.
86 changes: 43 additions & 43 deletions java/test/junit.sh.in

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/test_error.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ TEST() {
fi

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tall-1.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tall-2A.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tall-2A0.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tall-2B.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
8 changes: 4 additions & 4 deletions tools/test/h5dump/errfiles/tarray1_big.err
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
H5tools-DIAG: Error detected in HDF5:tools (version (number)) thread (IDs):
H5tools-DIAG: Error detected in HDF5:tools (version (number)):
#000: (file name) line (number) in h5tools_dump_data(): H5Rget_obj_type3 H5R_OBJECT1 failed
major: Failure in tools library
minor: error in function
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tattr-3.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Aopen(): unable to synchronously open attribute
major: Attribute
minor: Unable to create file
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/errfiles/tattrregR.err
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
H5tools-DIAG: Error detected in HDF5:tools (version (number)) thread (IDs):
H5tools-DIAG: Error detected in HDF5:tools (version (number)):
#000: (file name) line (number) in h5tools_dump_data(): H5Rget_obj_type3 H5R_OBJECT1 failed
major: Failure in tools library
minor: error in function
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tcomp-3.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Topen2(): unable to open named datatype synchronously
major: Datatype
minor: Can't open object
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/errfiles/tdataregR.err
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Rget_obj_type3(): unable to get object token
major: References
minor: Can't get value
#001: (file name) line (number) in H5R__get_obj_token(): NULL token size
major: References
minor: Unable to copy object
H5tools-DIAG: Error detected in HDF5:tools (version (number)) thread (IDs):
H5tools-DIAG: Error detected in HDF5:tools (version (number)):
#000: (file name) line (number) in h5tools_dump_data(): H5Rget_obj_type3 H5R_OBJECT1 failed
major: Failure in tools library
minor: error in function
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/errfiles/tdset-2.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Dopen2(): unable to synchronously open dataset
major: Dataset
minor: Can't open object
Expand Down Expand Up @@ -29,7 +29,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#009: (file name) line (number) in H5G__loc_find_cb(): object 'dset3' doesn't exist
major: Symbol table
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Lget_info2(): unable to get link info
major: Links
minor: Can't get value
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/errfiles/textlink.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down Expand Up @@ -35,7 +35,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#011: (file name) line (number) in H5L__extern_traverse(): unable to open external file, external link file name = 'filename'
major: Links
minor: Unable to open file
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/errfiles/textlinkfar.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down Expand Up @@ -59,7 +59,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#019: (file name) line (number) in H5G__traverse_slink_cb(): component not found
major: Symbol table
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5G_loc_find(): can't find object
major: Symbol table
minor: Object not found
Expand Down Expand Up @@ -156,7 +156,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#031: (file name) line (number) in H5G__traverse_special(): too many links
major: Links
minor: Too many soft links in path
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5G_loc_find(): can't find object
major: Symbol table
minor: Object not found
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/errfiles/textlinksrc.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down Expand Up @@ -59,7 +59,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#019: (file name) line (number) in H5G__traverse_slink_cb(): component not found
major: Symbol table
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5G_loc_find(): can't find object
major: Symbol table
minor: Object not found
Expand Down Expand Up @@ -156,7 +156,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#031: (file name) line (number) in H5G__traverse_special(): too many links
major: Links
minor: Too many soft links in path
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5G_loc_find(): can't find object
major: Symbol table
minor: Object not found
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tgroup-2.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Gopen2(): unable to synchronously open group
major: Symbol table
minor: Unable to create file
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/torderlinks1.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/torderlinks2.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Oopen(): unable to synchronously open object
major: Object header
minor: Can't open object
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/errfiles/tperror.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Dopen2(): unable to synchronously open dataset
major: Dataset
minor: Can't open object
Expand Down Expand Up @@ -29,7 +29,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#009: (file name) line (number) in H5G__loc_find_cb(): object 'bogus' doesn't exist
major: Symbol table
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Lget_info2(): unable to get link info
major: Links
minor: Can't get value
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/errfiles/tqmarkfile.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Dopen2(): not found
major: Dataset
minor: Object not found
Expand All @@ -14,7 +14,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#004: (file name) line (number) in H5G_loc_find_cb(): object 'Dataset1' doesn't exist
major: Symbol table
minor: Object not found
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Lget_info2(): unable to get link info
major: Symbol table
minor: Object not found
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5dump/errfiles/tslink-D.err
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Dopen2(): unable to synchronously open dataset
major: Dataset
minor: Can't open object
Expand Down
6 changes: 3 additions & 3 deletions tools/test/h5dump/testh5dump.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ TOOLTEST3() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down Expand Up @@ -854,7 +854,7 @@ TOOLTEST4() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down Expand Up @@ -919,7 +919,7 @@ TOOLTEST5() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/testh5dumppbits.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ TOOLTEST3() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down Expand Up @@ -394,7 +394,7 @@ TOOLTEST4() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down
4 changes: 2 additions & 2 deletions tools/test/h5dump/testh5dumpvds.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ TOOLTEST3() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down Expand Up @@ -376,7 +376,7 @@ TOOLTEST4() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down
2 changes: 1 addition & 1 deletion tools/test/h5format_convert/testh5fc.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ TOOLTEST_MASK_OUT() {
STDERR_FILTER $actual_err

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
HDF5-DIAG: Error detected in HDF5 (version (number)):
#000: (file name) line (number) in H5Dcreate2(): unable to synchronously create dataset
major: Dataset
minor: Unable to create file
Expand Down Expand Up @@ -44,7 +44,7 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#014: (file name) line (number) in H5D__chunk_construct(): dimensionality of chunks doesn't match the dataspace
major: Dataset
minor: Bad value
H5tools-DIAG: Error detected in HDF5:tools (version (number)) thread (IDs):
H5tools-DIAG: Error detected in HDF5:tools (version (number)):
#000: (file name) line (number) in do_copy_objects(): H5Dcreate2 failed
major: Failure in tools library
minor: function info
2 changes: 1 addition & 1 deletion tools/test/h5repack/h5repack.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ TOOLTESTM() {
cp $actual_err $actual_err_sav

# Extract file name, line number, version and thread IDs because they may be different
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
sed -e 's/ thread [0-9]*//' -e 's/: .*\.c /: (file name) /' \
-e 's/line [0-9]*/line (number)/' \
-e 's/v[1-9]*\.[0-9]*\./version (number)\./' \
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
Expand Down

0 comments on commit fb96805

Please sign in to comment.