* [LTP] modifying tests to use the configured tmp directory
@ 2009-07-25 4:45 Henry Yei
2009-07-25 5:28 ` Mike Frysinger
0 siblings, 1 reply; 2+ messages in thread
From: Henry Yei @ 2009-07-25 4:45 UTC (permalink / raw)
To: ltp-list
One of our testing requirements forces us to use a user specified temporary directory.
LTP provides the functions needed to do this (tst_tmpdir) and through the global variable $TMPDIR.
I've found a large amount of filesystem tests that do not honor this. Some of the tests have an argument you can pass in (such as a -d option for growfiles), and is set inside the runtest/scenario file (fs_inod01)
Does anyone have a preference on whether the tests should be modified to use the tst functions when possible, or use an optional argument?
Any comments appreciated,
Henry Yei
MontaVista Software, Inc.
hyei@mvista.com
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LTP] modifying tests to use the configured tmp directory
2009-07-25 4:45 [LTP] modifying tests to use the configured tmp directory Henry Yei
@ 2009-07-25 5:28 ` Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2009-07-25 5:28 UTC (permalink / raw)
To: ltp-list
[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]
On Saturday 25 July 2009 00:45:09 Henry Yei wrote:
> Does anyone have a preference on whether the tests should be modified to
> use the tst functions when possible, or use an optional argument?
if a test needs a temp dir, it should always default to the common LTP one.
feel free to send patches to do just this.
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 79 bytes --]
------------------------------------------------------------------------------
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-25 5:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-25 4:45 [LTP] modifying tests to use the configured tmp directory Henry Yei
2009-07-25 5:28 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox