[CRIU] [PATCH] zdtm: Make sure the root dirs are not present

Cyrill Gorcunov gorcunov at gmail.com
Mon Feb 29 09:54:19 PST 2016


On Mon, Feb 29, 2016 at 10:42:18AM -0700, Tycho Andersen wrote:
> On Mon, Feb 29, 2016 at 05:09:20PM +0300, Cyrill Gorcunov wrote:
> > When creating root for NS testing we should make
> > sure that directories we're about to create are
> > not present (created already). For this sake
> > use os.access helper.
> > 
> > With this patch I can run test on my local machine.
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> > Andrew, does it make sense?
> 
> How did you get these directories already? Have you run `make clean`
> by chance? The clean scripts can clean some of the directories, but
> not all of them because some things are owned by root.

I suspect they might left from pervious run or something.
And yes, I run make clean before running tests. Letme
try again...

Indeed, no longer cause problems. I suspect the dirs are
left from unsuccessfull run from previous attempts.
Seems to work by now. Drop it.


More information about the CRIU mailing list