public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Ismael Farf??n <sulfurfff@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] Is running from a read-only path supported?
Date: Tue, 23 Apr 2013 16:08:52 +0200	[thread overview]
Message-ID: <20130423140852.GG28044@rei> (raw)
In-Reply-To: <20130417180901.GA30553@rei>

Hi!
> > First of, thanks for your effort writing all this bunch of tests, It's
> > really helpful.
> > 
> > We are running LTP to test the correct behavior of a FileSystem
> > mounted in /mnt, however I installed ltp in /read/only/NFS/export/ltp.
> > 
> > I've already changed ltprun [1] so that it writes the failed log in
> > TMP (which should point to /mnt) instead of LTPBIN, but there are a
> > bunch of tests creating files in "." instead of TMPDIR, and for what
> > I've seen "." is actually LTPBIN for some tests which in our case is
> > read-only.
> 
> Such tests are buggy and needs to be fixed.
> 
> Just send a patch against latest git with Signed-off-by line and I will
> apply it right away.
> 
> > Also, I can't pass a base directory to run on to many of the tests,
> > take [2] as example where I patched it to write to TMPDIR.
> 
> We have a interface that automatically setups temporary directory for
> the test. All that is needed is that the test calls tst_tmpdir() at the
> start and tst_rmdir() at the end and, if needed, in the cleanup().
> 
> See include/test.h for details.

Ping. Any work done on this?

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2013-04-23 14:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 17:23 [LTP] Is running from a read-only path supported? Ismael Farfán
2013-04-17 18:09 ` chrubis
2013-04-23 14:08   ` chrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130423140852.GG28044@rei \
    --to=chrubis@suse.cz \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=sulfurfff@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox