From: Nathan S. <ns...@sg...> - 2003-04-02 13:52:04
|
On Wed, Apr 02, 2003 at 08:36:19AM +0100, Louis Lam wrote: > Usually temporary files created by tests like > "growfiles" reside in "/tmp". I'm trying to use ltp to > test a compression-enabled file system which has been > mounted elsewhere e.g "/tmp2". > > Is there a way to change a set of test like "fs" to > create files in the alternative directory instead? There are a couple variables that modify the way tst_tmpdir() works. This is the function that our tests use to create a temporary directory to do their work in. TMPDIR - Sets the base directory that tst_tmpdir() will create a directory in. TDIRECTORY - Sets the directory that tst_tmpdir() will use verbatim. -- Nate Straz ns...@sg... sgi, inc http://www.sgi.com/ Linux Test Project http://ltp.sf.net/ |