public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] Usage about LTP_BIG_DEV exported by runltp
@ 2014-03-21 11:43 Xiaoguang Wang
  2014-03-21 11:43 ` [LTP] [PATCH 1/2] lib/tst_fs_has_free.c: add tst_fs_has_free() to determine filesystem's free space Xiaoguang Wang
  2014-03-21 11:44 ` [LTP] [PATCH 2/2] testcases/lib/misc.sh: add tst_fs_has_free function Xiaoguang Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Xiaoguang Wang @ 2014-03-21 11:43 UTC (permalink / raw)
  To: ltp-list

Some tests may need a big block device to complete test. When having
this demand, users may run runltp script with "-z" option to specify
such a big block device.

When a big block device is specified, related test cases will run. But
these tests may need different requirement about the size of the block
device. If testA needs 500MB and testB needs 1GB, and if one user
has interest in testA and he also doesn't know the existence of testB,
when he specifies a block device size of 600MB, then testB will fail.

So when user needs a big block device, he may first need to determine
the mounted block device's free space. If the specified device does not
have enouth free space, the test should also return TCONF.

Maybe this also need to be updated to doc/test-writing-guidelines.txt.

Thanks.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-10 11:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 11:43 [LTP] Usage about LTP_BIG_DEV exported by runltp Xiaoguang Wang
2014-03-21 11:43 ` [LTP] [PATCH 1/2] lib/tst_fs_has_free.c: add tst_fs_has_free() to determine filesystem's free space Xiaoguang Wang
2014-04-10 11:11   ` chrubis
2014-03-21 11:44 ` [LTP] [PATCH 2/2] testcases/lib/misc.sh: add tst_fs_has_free function Xiaoguang Wang
     [not found]   ` <5344F4E5.2050600@cn.fujitsu.com>
2014-04-09 17:06     ` chrubis
2014-04-10 11:13   ` chrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox