git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] t9600: allow testing with cvsps 2.2, including beta versions

From
PRPavel Roskin <proski@gnu.org>
Date
Jul 15, 2008, 00:51 UTC
Message-ID
<20080714205114.cnwynr1q804wow4k-cebfxv@webmail.spamcop.net>
In-Reply-To
<7v1w1wdm37.fsf@gitster.siamese.dyndns.org>
Quoting Junio C Hamano <gitster@pobox.com>:
Show 8 quoted lines
> Pavel Roskin <proski@gnu.org> writes:
>
>> Don't assume that unsupported versions are too old, they may be too new.
>
> Excuse me, but we never assumed such.
>
> Neither too old nor too new ones are proven to work with us yet, so we
> cannot be call them supported.

The message was "skipping cvsimport tests, cvsps too old" so the assumption was there.

Show 20 quoted lines
> Let's apply your patch and see how well version 2.2 fares.
>
> Thanks.
>
>> diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
>> index 655f882..f92b47a 100755
>> --- a/t/t9600-cvsimport.sh
>> +++ b/t/t9600-cvsimport.sh
>> @@ -20,13 +20,15 @@ cvsps_version=`cvsps -h 2>&1 | sed -ne 's/cvsps  
>>  version //p'`
>>  case "$cvsps_version" in
>>  2.1)
>>  	;;
>> +2.2*)
>> +	;;
>
> Hmm, I would have written:
>
> 	case "$..." in
>         2.1 | 2.2 )
Fine with me, but please allow for extra specifiers.
> Is the reason why you have the asterisk there because the beta one claims
> "2.2beta" or something (I am not suggesting to tighten the match, just
> asking for information)?
It's cvsps 2.2b1 from Fedora Development (cvsps-2.2-0.1.b1.fc10.x86_64)

$ cvsps -h 2>&1 | grep version cvsps version 2.2b1

-- 
Regards,
Pavel Roskin
Previous: Junio C HamanoNext: Jeff King
Message 3 of 4 in “t9600: allow testing with cvsps 2.2, including beta versions”
  1. t9600: allow testing with cvsps 2.2, including beta versionsPavel Roskin, Jul 15, 2008
  2. Junio C HamanoJul 15, 2008
  3. Pavel RoskinJul 15, 2008
  4. Jeff KingJul 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.