Hi!
> Make runltp export LTP_BIG_DEV and LTP_BIG_DEV_FS_TYPE only when they have a
> non-zero
> value. We do this to make getenv("LTP_BIG_DEV") or
> getenv("LTP_BIG_DEV_FS_TYPE")
> return NULL, if user does not specify a big block device. Because users
> usually write
> such code:
> device = getenv("LTP_BIG_DEV");
> if (device == NULL) {
> tst_brkm(TCONF, NULL,
> "you must specify a big blockdevice(>1.2G)");
> } else {
> tst_mkfs(NULL, device, "ext3", NULL);
> }
I've shortened the first line of the commit description a bit and
pushed the patch, thanks.
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list