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.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to