Bump the size of the 'testvol' sparse file that the tests use to 20G. The actual disk space used is more like 200M which should be fine for build environments. The increased size allows more resource groups to be created in tests that use a larger resource group size.
Signed-off-by: Andrew Price <anpr...@redhat.com> --- tests/atlocal.in | 2 +- tests/edit.at | 4 ++-- tests/tune.at | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/atlocal.in b/tests/atlocal.in index b021b132..b0f22f10 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -1,5 +1,5 @@ GFS_TGT="$abs_builddir/testvol" -GFS_TGT_SZ=10 +GFS_TGT_SZ=20 GFS_MKFS="mkfs.gfs2 -O -D" gfs_max_blocks() diff --git a/tests/edit.at b/tests/edit.at index d70d012e..d6795218 100644 --- a/tests/edit.at +++ b/tests/edit.at @@ -6,8 +6,8 @@ AT_KEYWORDS(gfs2_edit edit) GFS_TGT_REGEN AT_CHECK([$GFS_MKFS -p lock_nolock $GFS_TGT $(($(gfs_max_blocks 4096)/2))], 0, [ignore], [ignore]) AT_CHECK([gfs2_edit savemeta $GFS_TGT test.meta > savemeta.log], 0, [ignore], [ignore]) -AT_CHECK([head -2 savemeta.log], 0, [There are 1310716 blocks of 4096 bytes in the filesystem. -Filesystem size: 5.00GB +AT_CHECK([head -2 savemeta.log], 0, [There are 2621439 blocks of 4096 bytes in the filesystem. +Filesystem size: 10.00GB ], [ignore]) GFS_TGT_REGEN AT_CHECK([gfs2_edit restoremeta test.meta $GFS_TGT], 0, [ignore], [ignore]) diff --git a/tests/tune.at b/tests/tune.at index 43ce34ce..4f0ecd79 100644 --- a/tests/tune.at +++ b/tests/tune.at @@ -32,8 +32,8 @@ File system magic number: 0x1161970 File system format version: 1802 Block size: 4096 Block shift: 12 -Root inode: 16709 -Master inode: 16437 +Root inode: 33127 +Master inode: 32854 Lock protocol: lock_nolock Lock table: cluster:fsname " > expout], 0, [ignore], [ignore]) -- 2.31.1