summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2003-11-04 15:54:32 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2003-11-04 15:54:32 (GMT)
commit2164cbd0936bd663efde39bad3b1a4e6ea5525bf (patch)
tree5b758aaa8a8918cca99928c070082ea52d5f8b1f
parent75a5e8a0e697d7f109d5db5bb7747d3d5412abe5 (diff)
downloadhdf5-2164cbd0936bd663efde39bad3b1a4e6ea5525bf.zip
hdf5-2164cbd0936bd663efde39bad3b1a4e6ea5525bf.tar.gz
hdf5-2164cbd0936bd663efde39bad3b1a4e6ea5525bf.tar.bz2
[svn-r7814] Purpose: bug fix
Description: this script file ignored digit numbers higher than single for version number Platforms tested: RH 8(fuss)
-rw-r--r--test/testerror.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testerror.sh b/test/testerror.sh
index 3e73362..9784de9 100644
--- a/test/testerror.sh
+++ b/test/testerror.sh
@@ -64,7 +64,7 @@ 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