mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r12280] Purpose:
Bug fix. Description: It did not handle the case when version sub-release string is not empty. Solution: Fixed the sed substitution to remove the sub-release string too. Platforms tested: Heping.
This commit is contained in:
parent
220fdf4113
commit
16d927b68b
@ -63,7 +63,10 @@ TEST() {
|
||||
$RUNSERIAL $TEST_ERR_BIN
|
||||
) >$actual 2>$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) /' -e 's/line [0-9]*/line (number)/' -e 's/[1-9]*\.[0-9]*\.[0-9]*/version (number)/' $actual_err > $actual_ext
|
||||
sed -e 's/thread [0-9]*/thread (IDs)/' -e 's/: .*\.c /: (file name) /' \
|
||||
-e 's/line [0-9]*/line (number)/' \
|
||||
-e 's/[1-9]*\.[0-9]*\.[0-9]*[^)]*/version (number)/' \
|
||||
$actual_err > $actual_ext
|
||||
cat $actual_ext >> $actual
|
||||
|
||||
if $CMP $expect1 $actual; then
|
||||
|
Loading…
Reference in New Issue
Block a user