You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@xbc.nu> on 2002/08/12 00:45:56 UTC

Re: svn commit: rev 2947 - trunk/subversion/tests/clients/cmdline

brane@tigris.org wrote:

>Author: brane
>Date: 2002-08-11 19:30:58 -0500 (Sun, 11 Aug 2002)
>New Revision: 2947
>
>Modified:
>   trunk/subversion/tests/clients/cmdline/module_tests.py
>Log:
>Another testsuite bugfix, this one for Windows.
>
>* subversion/tests/clients/cmdline/module_tests.py: Use main.remove_wc
>instead of plain shutil.rmtree when removing working copies.
>
module_tests.py now passes on Windows. Do we care about the two 
RuntimeWarnings, though?

[brane@SILMARIL cmdline]$ python module_tests.py
module_tests.py:150: RuntimeWarning: tempnam is a potential security risk to your program
  tmp_f = os.tempnam(wc_init_dir, 'tmp')
PASS: module_tests.py 1: check out a directory with some external modules attached
module_tests.py:196: RuntimeWarning: tempnam is a potential security risk to your program
  tmp_f = os.tempnam(svntest.main.temp_dir, 'tmp')
PASS: module_tests.py 2: Update to receive a new external module.
PASS: module_tests.py 3: Update to lose an external module.
PASS: module_tests.py 4: Update to receive a change to an unmodifed external module.
PASS: module_tests.py 5: Update to receive a change to a modified external module.
PASS: module_tests.py 6: Update to receive a change under an external module.



-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 2947 - trunk/subversion/tests/clients/cmdline

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Branko Čibej <br...@xbc.nu> writes:
> >Yeah, they're an ugly distraction for anyone running module_tests.py
> >by hand.  Is there some flag we can pass to Python, or var we can set,
> >to make this warning not happen?
>
> Committed in revision 2957. :-)

Oh, that is _nice_, I have a feeling this isn't the last time we'll be
using that mechanism in Python... :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 2947 - trunk/subversion/tests/clients/cmdline

Posted by Branko Čibej <br...@xbc.nu>.
Karl Fogel wrote:

>Branko Čibej <br...@xbc.nu> writes:
>  
>
>>module_tests.py now passes on Windows. Do we care about the two
>>RuntimeWarnings, though?
>>    
>>
>
>Bleargh.
>
>Yeah, they're an ugly distraction for anyone running module_tests.py
>by hand.  Is there some flag we can pass to Python, or var we can set,
>to make this warning not happen?
>  
>
Committed in revision 2957. :-)

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 2947 - trunk/subversion/tests/clients/cmdline

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Branko Čibej <br...@xbc.nu> writes:
> module_tests.py now passes on Windows. Do we care about the two
> RuntimeWarnings, though?

Bleargh.

Yeah, they're an ugly distraction for anyone running module_tests.py
by hand.  Is there some flag we can pass to Python, or var we can set,
to make this warning not happen?

-K

> [brane@SILMARIL cmdline]$ python module_tests.py
> module_tests.py:150: RuntimeWarning: tempnam is a potential security risk to your program
>   tmp_f = os.tempnam(wc_init_dir, 'tmp')
> PASS: module_tests.py 1: check out a directory with some external modules attached
> module_tests.py:196: RuntimeWarning: tempnam is a potential security risk to your program
>   tmp_f = os.tempnam(svntest.main.temp_dir, 'tmp')
> PASS: module_tests.py 2: Update to receive a new external module.
> PASS: module_tests.py 3: Update to lose an external module.
> PASS: module_tests.py 4: Update to receive a change to an unmodifed external module.
> PASS: module_tests.py 5: Update to receive a change to a modified external module.
> PASS: module_tests.py 6: Update to receive a change under an external module.
> 
> 
> 
> -- 
> Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org