From: Miroslav V. <mva...@re...> - 2011-12-08 22:01:25
|
:) I'm glad to hear that. The results look good at my side. The patch it is now upstream. ----- Original Message ----- > Perfect timing, I was just about to kick off an LTP run. :-) > I assume you'll go ahead and push it? Thanks! > > -- ljk > > mva...@re... wrote: > > From: Miroslav Vadkerti <mva...@re...> > > > > This is because the default /tmp is mounted noexec in evaluated > > configuration what causes a few tests in LTP suite to fail > > > > Signed-off-by: Miroslav Vadkerti <mva...@re...> > > --- > > ltp/Makefile | 8 ++++++-- > > 1 files changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/ltp/Makefile b/ltp/Makefile > > index daf442a..907c77a 100644 > > --- a/ltp/Makefile > > +++ b/ltp/Makefile > > @@ -40,6 +40,10 @@ LTP_RUN_LOG = .run.log > > LTP_FULL = ltp-full.tar.bz2 > > LTP_SOURCE = > > http://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20110915/ltp-full-20110915.bz2/download > > > > +# set temporary directory to /opt/ltp/tmp for LTP tests > > +# this is because the default /tmp is mounted noexec in evaluated > > +# configuration what causes a few tests to fail > > +LTP_TMPDIR = /opt/ltp/tmp > > > > all:: download extract patch build > > > > @@ -89,9 +93,9 @@ runtests:: > > setsebool allow_execmem=on > > # run tests > > echo "Running syscalls tests" > > - /opt/ltp/testscripts/syscalls.sh -p -l > > $(MDIR)/syscalls$(LTP_ROLLUP_LOG) 2>&1 | tee > > syscalls$(LTP_RUN_LOG) > > + /opt/ltp/testscripts/syscalls.sh -p -d ${LTP_TMPDIR} -l > > $(MDIR)/syscalls$(LTP_ROLLUP_LOG) 2>&1 | tee > > syscalls$(LTP_RUN_LOG) > > echo "Running cc_ospp tests" > > - /opt/ltp/testscripts/cc_ospp.sh -p -l > > $(MDIR)/cc_ospp$(LTP_ROLLUP_LOG) 2>&1 | tee cc_ospp$(LTP_RUN_LOG) > > + /opt/ltp/testscripts/cc_ospp.sh -p -d ${LTP_TMPDIR} -l > > $(MDIR)/cc_ospp$(LTP_ROLLUP_LOG) 2>&1 | tee cc_ospp$(LTP_RUN_LOG) > > > > report:: > > echo "Makefile: report" > > -- Miroslav Vadkerti :: Quality Assurance Engineer / RHCE :: BaseOS QE - Security Phone +420 532 294 129 :: CR cell +420 775 039 842 :: SR cell +421 904 135 440 IRC mvadkert at #qe #urt #brno #rpmdiff :: GnuPG ID 0x25881087 at pgp.mit.edu Red Hat s.r.o, Purkyňova 99/71, 612 45, Brno, Czech Republic |