[LTP] [PATCH 2/3] Allow acquiring multiple loop devices

Cyril Hrubis chrubis@suse.cz
Fri Feb 7 18:11:25 CET 2020


Hi!
> > > BTW IMHO DEV_FILE should be #define DEV_FILE "test_dev.%d.img", where %d would
> > > be PID to fix clash when tests run in paralel (e.g. mkswap01.sh and df01.sh).
> > > I'll send a patch tomorrow, based on this one.
> 
> > Huh, do we even attempt to support parallel runs at this point? I doubt
> > so.
> No, but I'd expect it'd be nice to have this support for runltp-ng. Or not?

We will fix this, when we get there. Also thinking of it the file that
is backing the device is actually created in the test temporary
directory, which has unique name anyways.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list