bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with sanity.sh ;(


From: Derek R. Price
Subject: Re: Problem with sanity.sh ;(
Date: Thu, 24 May 2001 11:46:30 -0400

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:dprice@collab.net         CollabNet ( http://collab.net )
--
Always glad to share my ignorance - I've got plenty.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]