[PATCH 1/2] xfstests: 083 make variable filesize as size in bytes

Eryu Guan guaneryu at gmail.com
Thu Nov 3 21:38:03 CDT 2011


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 at gmail.com>
---
 083 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/083 b/083
index 441284e..e0670b9 100755
--- 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
-- 
1.7.7.1




More information about the xfs mailing list