From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Vorel Date: Mon, 10 Feb 2020 16:48:01 +0100 Subject: [LTP] [PATCH 2/3] Allow acquiring multiple loop devices In-Reply-To: <20200207171125.GC16951@rei.lan> References: <20200129144913.9889-1-mdoucha@suse.cz> <20200129144913.9889-3-mdoucha@suse.cz> <20200203152420.GA29586@dell5510> <20200207164544.GB19681@rei.lan> <20200207170756.GA10520@dell5510> <20200207171125.GC16951@rei.lan> Message-ID: <20200210154801.GA19911@dell5510> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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. If I remember it correctly, the file was in /tmp directory (the default) (probably before creating temporary directory and cd into it). I was really able to crash on tests, when running 2 in paralel. Kind regards, Petr