083 make variable filesize as size in bytes
authorEryu Guan <guaneryu@gmail.com>
Fri, 4 Nov 2011 02:38:03 +0000 (10:38 +0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 10 Nov 2011 13:43:48 +0000 (13:43 +0000)
The first argument of _scratch_mkfs_sized() should be file system size
in bytes, so '100m' is not a valid number, and the 'expr' expression in
_scratch_mkfs_sized() complains 'non-numeric argument' about it.

Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
083

diff --git a/083 b/083
index 441284e4dbe2031bd1a414e7fc5a9ec1c0bcb51c..e0670b9ef3a73818c9d86512f0689ae7fb80b2bf 100755 (executable)
--- a/083
+++ b/083
@@ -91,7 +91,7 @@ workout()
 
 echo "*** test out-of-space handling for random write operations"
 
-filesize=100m
+filesize=`expr 100 \* 1024 \* 1024`
 agcount=6
 numprocs=15
 numops=1500