public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] xfstests: 083 make variable filesize as size in bytes
@ 2011-11-04  2:38 Eryu Guan
  2011-11-04  2:38 ` [PATCH 2/2] xfstests: meet btrfs fs size requirement in _scratch_mkfs_sized() Eryu Guan
  0 siblings, 1 reply; 5+ messages in thread
From: Eryu Guan @ 2011-11-04  2:38 UTC (permalink / raw)
  To: xfs; +Cc: Eryu Guan

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>
---
 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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-04  8:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04  2:38 [PATCH 1/2] xfstests: 083 make variable filesize as size in bytes Eryu Guan
2011-11-04  2:38 ` [PATCH 2/2] xfstests: meet btrfs fs size requirement in _scratch_mkfs_sized() Eryu Guan
2011-11-04  5:39   ` Christoph Hellwig
2011-11-04  6:06     ` Eryu Guan
2011-11-04  8:21       ` Stefan Behrens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox