Re: [LTP] Fwd: [PATCH] Create $SELINUXTMPDIR in each of the tests

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

 



Quoting Jiří Paleček (jpalecek@xxxxxx):
> On Mon, 20 Apr 2009 03:32:43 +0200, Serge E. Hallyn <serue@xxxxxxxxxx> wrote:
> 
> > Quoting Subrata Modak (subrata@xxxxxxxxxxxxxxxxxx):
> >> Stephen,
> >>
> >> Would you like to say something about the following Patch ?
> >
> > If the motivation is to support multiple concurrent ltp runs, wouldn't
> > it be better to have selinux-testsuite/tests/runtest.sh set/export
> > SELINUXTMPDIR to a per-run tempdir?  Even as simple as
> > /tmp/selinux-$pid.
> 
> No, the motivation was mostly to allow running these tests directly from PAN, without any supporting scripts. The ability to run the tests concurrently is just a pleasant bonus. I chose this way, because I find the needed changes pretty small.

Yeah - seems like a good idea.

If the directories sometimes don't get deleted, then you might help out
the admin by giving the directories easy to spot names so they can
manually clean up...  i.e. use mktemp -d /tmp/ltpselinuxXXXX or maybe
even better mkdir -p /tmp/ltpselinux; mktemp -d -p /tmp/ltpselinux

thanks,
-serge

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux