4 # To test out xfsinvutil
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
8 #-----------------------------------------------------------------------
14 echo "QA output created by $seq"
18 status=0 # success 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
53 # Now do the xfsinvutil and
54 # look and the inventory before and after
55 # to see if it did the job