aboutsummaryrefslogtreecommitdiff
path: root/runltp
diff options
context:
space:
mode:
authorDAN LI <li.dan@cn.fujitsu.com>2013-09-10 10:53:34 +0800
committerCyril Hrubis <chrubis@suse.cz>2013-09-10 14:11:37 +0200
commit189c4419610af11c31685b4ed1ffda154cbf4f4b (patch)
treed97f489cd88193724fa14d3aef9c8ca8e276a887 /runltp
parent0f3ac8c323de141fb2d3fb4339819ee117e58124 (diff)
runltp: bigger the supplied block device
To make a xfs filesystem, we need the device gets at least 4096 blocks. Signed-off-by: DAN LI <li.dan@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'runltp')
-rwxr-xr-xrunltp4
1 files changed, 2 insertions, 2 deletions
diff --git a/runltp b/runltp
index e86f5c7c2..63c625fd1 100755
--- a/runltp
+++ b/runltp
@@ -955,8 +955,8 @@ main()
create_block()
{
- #create a block device with ext4 filesystem.
- dd if=/dev/zero of=${TMP}/test.img bs=1kB count=10240
+ #create a block device
+ dd if=/dev/zero of=${TMP}/test.img bs=1kB count=20480
if [ $? -ne 0 ]; then
echo "Failed to create loopback device image, please check disk space and re-run"
return 1