[EMAIL PROTECTED] wrote:
> Hi! The regression tests for cvs-1.10.8 failed...
> I've got rcsdiff from RCS version 5.7
This shouldn't matter. The RCS funcionality has been built into the CVS
executable since version 1.9.19.
> ** expected:
> ===================================================================
> Checking out foo\.c
> RCS: /tmp/cvs-sanity/cvsroot/first-dir/foo\.c,v
> VERS: 1\.1
> \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> I am the first foo, and my name is $Name: first $\.
> ** got:
> ===================================================================
> Checking out foo.c
> RCS: /tmp/cvs-sanity/cvsroot/first-dir/foo.c,v
> VERS: 1.1
> ***************
> I am the first foo, and my name is $Name: first $.
> FAIL: rcsdiff-5
This looks like it should match (i.e. CVS's implementation of 'rcsdiff'
worked correctly), so I'd probably try and blame the 'expr' executable
first. Could be yours doesn't interpret things within the tolerances of
the 'sanity.sh' script.
What platform are you running on? Are you using the GNU versions of
'expr' and 'sort'? The easiest check for this is usually to try passing
the '--version' option to both executables. If the option isn't
recognized or they don't claim to be GNU programs, then they aren't.
The easiest fix for this is usually to install GNU 'expr' and 'sort' and
make sure they are the versions in your path when you run 'sanity.sh'.
The hard way, but the way to make everybody who tries to run 'sanity.sh'
with a setup like yours love you forever more, is to patch 'sanity.sh'
to test the executable behavior (I suspect the '$' in the text being
passed to 'expr') and have it dynamically adapt. There are some
examples of this in 'sanity.sh' already. Search for 'ENDANCHOR', 'PLUS'
and 'expr' near the beginning of the program for examples.
Oh, by the way, this particular case doesn't look like 'sort' problems,
but the last few times I ran into 'expr' problems I fixed them and found
I still had 'sort' problems.
FTP gnu.org: http://www.gnu.org/order/ftp.html . 'expr' is in the
'sh-utils' package and 'sort' is in the 'text-utils' package.
Derek R. Price
CVS Solutions Architect
303.554.8291
[EMAIL PROTECTED]
http://alumni.engin.umich.edu/~oberon/resume.html
--
The standard disclaimer and all that jazz.