Donald Sharp wrote:

> ** expected:
> cvs [checkout aborted]: Cannot check out files into the repository itself
> ** got:
> cvs [checkout aborted]: Cannot check out files into the repository itself

The string argument to dotest is a pattern, not a string.  In '[checkout aborted]', 
'[' and
']' are the character set operators, so expr is attempting to match any _single_ 
charater
which is in the set inside the [].

If you look at the other tests, you'll notice they usually use, "\[[a-z]* aborted\]".  
Where
the '\'s escape the operatorness of '[' and ']' and [a-z]* is intended to match 
"checkout" or
"server" in client/server mode (make remotecheck).

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED]         CollabNet ( http://collab.net )
--
Always glad to share my ignorance - I've got plenty.




_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to