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

Re: [Xen-devel] [OSSTEST PATCH] standalone-reset: use mkdir -p



On Mon, Feb 06, 2017 at 11:49:23AM +0000, Ian Jackson wrote:
> Wei Liu writes ("[OSSTEST PATCH] standalone-reset: use mkdir -p"):
> ...
> >  ensure_dir () {
> >     if test -d "$1"; then return; fi
> > -   mkdir "$1"
> > +   mkdir -p "$1"
> 
> This deliberately doesn't do this.  Otherwise wrong (or partially
> missing) configuration can create strangely-named directories.
> 
> What missing parent directory did you want it to create ?
> 

/tmp/wei/osstest/


> Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.