4 # invutil with interactive responses
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
21 # get standard environment, filters and checks
25 # real QA test starts here
27 _supported_os IRIX Linux
29 # wipe test dir clean first
30 # so dump can be real quick
35 # and on the 3rd dump note the date
36 # which we'll use to prune against using xfsinvutil
39 while [ $i -lt 5 ]; do
40 _do_dump_file -L "session.$i"
43 middate=`date '+%m/%d/%Y %T'`
50 echo "middate = $middate" >>$seq.full
52 # Only say No to 1st question to prune
62 # Now do the xfsinvutil and
63 # look and the inventory before and after
64 # to see if it did the job
67 _do_invutil <$tmp.input