[svn-r7814] Purpose: bug fix

Description: this script file ignored digit numbers higher than single for
version number


Platforms tested: RH 8(fuss)
This commit is contained in:
Raymond Lu 2003-11-04 10:54:32 -05:00
parent 75a5e8a0e6
commit 2164cbd093

View File

@ -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