fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 183
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2007 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 183
6 #
7 # Test to check bulkstat returns unlinked-but-referenced inodes
8 # (PVs: 972128, 972004)
9 #
10 . ./common/preamble
11 _begin_fstest rw other auto quick
12
13 # Import common functions.
14 . ./common/filter
15
16 # real QA test starts here
17
18 # Modify as appropriate.
19 _supported_fs xfs
20
21 # Setup Filesystem
22 _require_scratch
23 _scratch_mkfs_xfs >/dev/null 2>&1 \
24         || _fail "mkfs failed"
25
26 _scratch_mount
27
28 # run Mark Goodwin test here
29 # Usage: ./bulkstat_unlink_test iterations nfiles stride dir
30 #        Create dir with nfiles, unlink each stride'th file, sync, bulkstat
31 echo "Start original bulkstat_unlink_test with -r switch"
32 $here/src/bulkstat_unlink_test -r 1 100 1 $SCRATCH_MNT/bulkstat
33
34 # success, all done
35 status=0
36 exit