2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2017 Oracle, Inc. All Rights Reserved.
7 # Populate a XFS filesystem and ensure that scrub and repair are happy.
8 # Use xfs_repair to fix the corruption.
11 _begin_fstest dangerous_fuzzers scrub
13 _register_cleanup "_cleanup" BUS
15 # Import common functions.
20 # real QA test starts here
25 _require_populate_commands
27 echo "Format and populate"
28 _scratch_populate_cached nofill > $seqres.full 2>&1
31 _scratch_mount >> $seqres.full 2>&1
32 _scratch_scrub >> $seqres.full