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


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

Reply via email to