- New upstream version Resolves: rhbz#2170017 - Update tests - Disable LTO to fix unit test breakage in el9 - gfs2_edit: Fix savemeta test failures in 32-bit environments
18 lines
260 B
Plaintext
18 lines
260 B
Plaintext
GFS_TGT="${abs_top_builddir}/tests/testvol"
|
|
GFS_TGT_SZ=20
|
|
GFS_MKFS="mkfs.gfs2 -O -D"
|
|
|
|
gfs_max_blocks()
|
|
{
|
|
printf $((GFS_TGT_SZ*1073741824/$1))
|
|
}
|
|
|
|
gfs_tgt_cleanup()
|
|
{
|
|
if $1; then
|
|
rm -f $GFS_TGT
|
|
fi
|
|
}
|
|
|
|
trap 'gfs_tgt_cleanup $at_arg_always_clean_testvol' EXIT
|