forked from linux-test-project/ltp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runltp: add -z, -Z options and change device symbol in runtest files
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. runltp will export four shell variables to indicate devices. LTP_DEV: small block device(the original DEVICE). LTP_BIG_DEV: big block device. if user doesn't specify it, LTP_BIG_DEV will be empty LTP_DEV_FS_TYPE: default ext2 LTP_BIG_DEV_FS_TYPE: default ext2 Signed-off-by: Xiaoguang Wang <[email protected]> Signed-off-by: Cyril Hrubis <[email protected]>
- Loading branch information
1 parent
6d78baf
commit 5b42a1e
Showing
4 changed files
with
54 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters