Re: [PATCH STABLE V2] tests: run "cwd was removed" test only if cwd can actually be removed

2016-10-28 Thread Yuya Nishihara
On Fri, 28 Oct 2016 10:23:57 +0200, Pierre-Yves David wrote: > > +@check("rmcwd", "can remove current working directory") > > +def has_rmcwd(): > > +ocwd = os.getcwd() > > +temp = tempfile.mkdtemp(dir='.', prefix=tempprefix) > > +try: > > +os.chdir(temp) > > +# On

Re: [PATCH STABLE V2] tests: run "cwd was removed" test only if cwd can actually be removed

2016-10-28 Thread Pierre-Yves David
On 10/27/2016 02:24 PM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1477489806 -32400 # Wed Oct 26 22:50:06 2016 +0900 # Branch stable # Node ID e405867f4c8a3f77d81ac44aeb75b7b739222c64 # Parent b9f7b0c10027764cee77f9c6d61877fcffea837f tests:

[PATCH STABLE V2] tests: run "cwd was removed" test only if cwd can actually be removed

2016-10-27 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1477489806 -32400 # Wed Oct 26 22:50:06 2016 +0900 # Branch stable # Node ID e405867f4c8a3f77d81ac44aeb75b7b739222c64 # Parent b9f7b0c10027764cee77f9c6d61877fcffea837f tests: run "cwd was removed" test only if cwd can actually