2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
7 # invutil with interactive responses
10 _begin_fstest dump ioctl auto
12 # Override the default cleanup function.
20 # Import common functions.
23 # real QA test starts here
26 # wipe test dir clean first
27 # so dump can be real quick
32 # and on the 3rd dump note the date
33 # which we'll use to prune against using xfsinvutil
36 while [ $i -lt 5 ]; do
37 _do_dump_file -L "session.$i"
40 middate=`date '+%m/%d/%Y %T'`
47 echo "middate = $middate" >>$seqres.full
49 # Only say No to 1st question to prune
59 # Now do the xfsinvutil and
60 # look and the inventory before and after
61 # to see if it did the job
64 _do_invutil <$tmp.input