projects
/
xfstests-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whoops, use a fixed 4k for alloc's "bsize" parameter, seems
[xfstests-dev.git]
/
009
diff --git
a/009
b/009
index 5b2b1c4445cfb2a20f09629b584cfe0420ee83ab..d133f2c8719b3c9bf0f1a596ef0bf85f6c0fe07f 100755
(executable)
--- a/
009
+++ b/
009
@@
-5,7
+5,7
@@
# alloc test
#
#-----------------------------------------------------------------------
# alloc test
#
#-----------------------------------------------------------------------
-# Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved.
+# Copyright (c) 2000
-2002
Silicon Graphics, Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as
@@
-46,7
+46,9
@@
here=`pwd`
tmp=/tmp/$$
status=1 # failure is the default!
trap "_cleanup; exit \$status" 0 1 2 3 15
tmp=/tmp/$$
status=1 # failure is the default!
trap "_cleanup; exit \$status" 0 1 2 3 15
-bsize=`$here/src/getpagesize`
+# This isn't really related to fs block size, it's just what
+# alloc uses for the "block" unit in it's input parameters...
+bsize=4096
_cleanup()
{
_cleanup()
{
@@
-64,7
+66,7
@@
_block_filter()
_init()
{
echo "*** mkfs"
_init()
{
echo "*** mkfs"
- if ! mkfs_xfs
-f
$SCRATCH_DEV >$tmp.out 2>&1
+ if ! mkfs_xfs $SCRATCH_DEV >$tmp.out 2>&1
then
cat $tmp.out
echo "failed to mkfs $SCRATCH_DEV"
then
cat $tmp.out
echo "failed to mkfs $SCRATCH_DEV"