2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Copyright (c) 2021 Oracle. All Rights Reserved.
7 # Make sure mkfs sets up enough of the rt geometry that we can compute the
8 # correct min log size for formatting the fs.
10 # This is a regression test for the xfsprogs commit 31409f48 ("mkfs: set
11 # required parts of the realtime geometry before computing log geometry").
14 seqres=$RESULT_DIR/$seq
15 echo "QA output created by $seq"
19 status=1 # failure is the default!
20 trap "_cleanup; exit \$status" 0 1 2 3 15
28 # get standard environment, filters and checks
32 # real QA test starts here
39 # Format a tiny filesystem to force minimum log size, then see if it mounts
40 _scratch_mkfs -r size=1m -d size=100m > $seqres.full
41 _scratch_mount >> $seqres.full
42 echo "Silence is golden"