Skip to contentSkip to conversation

runltp: add -z, -Z options and change device symbol in runtest files

PATCH [email protected] 1 participant 1 message Jan 30, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi!

Quoted 7 lines

Add two options -z and -Z for runltp, to allow user specify big block device for some tests, such as fs_ext4(ext4 new features tests).

We abandon the old way of assigning specific device in runltp like that "sed -i 's|DEVICE|$DEVICE|' ${TMP}/alltests". Now we use shell variables directly in runtest files.

Quoted 7 lines

runltp will export four shell variables to indicate devices.
LTP_SMALL_DEV: small block device(the original DEVICE).
LTP_BIG_DEV: big block device. if user doesn't specify it,
LTP_BIG_DEV will be "d"
DEVICE_FS_TYPE: default ext2
BIG_DEVICE_FS_TYPE: default ext2

Pushed with following changes:

* Renamed the LTP_SMALL_DEV to just LTP_DEV
and LTP_SMALL_DEV_FS_TYPE to LTP_DEV_FS_TYPE

* The devices are initialized to empty string

* Fixed the commit message (the DEVICE_FS_TYPE
and BIG_DEVICE_FS_TYPE were wrong anyway)

Thanks.

Signature · 13 lines
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list