[Top][All Lists]

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

Re: "cvs server" accepts but ignored --allow-root

From: Larry Jones
Subject: Re: "cvs server" accepts but ignored --allow-root
Date: Fri, 22 Nov 2002 10:29:00 -0500 (EST)

Derek Robert Price writes:
> You might also try running something akin to the pserver, server, and 
> server2 tests - those exec `cvs --allow-root=X pserver' and `cvs server' 
> on the command line then feed fake protocol data in on stdin and read 
> stdout to see if they are working properly.  You could probably cut and 
> paste a few of those tests even, as long as you added one that got the 
> failure message.  I think you need to test three cases - a working 
> checkout without --allow-root specified, a working checkout with 
> --allow-root specified, and a forbidden checkout with --allow-root 
> specified.

That is, in fact, the correct way to test your changes.  In fact, I'd
suggest that server2 is probably a good place to put the new tests.

-Larry Jones

Hmph. -- Calvin

reply via email to

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