2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
7 # invutil with interactive responses
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=1 # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
25 # get standard environment, filters and checks
29 # real QA test starts here
33 # wipe test dir clean first
34 # so dump can be real quick
39 # and on the 3rd dump note the date
40 # which we'll use to prune against using xfsinvutil
43 while [ $i -lt 5 ]; do
44 _do_dump_file -L "session.$i"
47 middate=`date '+%m/%d/%Y %T'`
54 echo "middate = $middate" >>$seqres.full
56 # Only say No to 1st question to prune
66 # Now do the xfsinvutil and
67 # look and the inventory before and after
68 # to see if it did the job
71 _do_invutil <$tmp.input