This test case needs at least 3g scratch device space, check for it
before starting the test case.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
swapfile="$SCRATCH_MNT/swap"
swapfile="$SCRATCH_MNT/swap"
+_require_scratch_size $((3 * 1024 * 1024)) #kB
+
# First, create a 1GB filesystem and fill it up.
_scratch_mkfs_sized $((1024 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount
# First, create a 1GB filesystem and fill it up.
_scratch_mkfs_sized $((1024 * 1024 * 1024)) >> $seqres.full 2>&1
_scratch_mount