2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
7 # To test out xfsinvutil
10 _begin_fstest dump ioctl auto quick
12 status=0 # success is the default!
14 # Override the default cleanup function.
22 # Import common functions.
25 # real QA test starts here
28 # wipe test dir clean first
29 # so dump can be real quick
34 # and on the 3rd dump note the date
35 # which we'll use to prune against using xfsinvutil
38 while [ $i -lt 5 ]; do
39 _do_dump_file -L "session.$i"
42 middate=`date '+%m/%d/%Y %T'`
49 echo "middate = $middate" >>$seqres.full
52 # Now do the xfsinvutil and
53 # look and the inventory before and after
54 # to see if it did the job