check: use generated group files
[xfstests-dev.git] / tests / ext4 / 023
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2017 Oracle, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 023
6 #
7 # Ensure that the populate helpers actually /can/ populate a ext4
8 # filesystem with all types of metadata and create an image of the
9 # metadata.  Check that fsck is happy with the resulting fs.
10 #
11 . ./common/preamble
12 _begin_fstest auto quick scrub
13
14 _register_cleanup "_cleanup" BUS
15
16 # Import common functions.
17 . ./common/filter
18 . ./common/populate
19 . ./common/fuzzy
20
21 # real QA test starts here
22 _supported_fs ext4
23 _require_scratch
24
25 echo "Format and populate"
26 _scratch_populate_cached > $seqres.full 2>&1
27
28 echo "Mount"
29 _scratch_mount >> $seqres.full 2>&1
30
31 # success, all done
32 status=0
33 exit