take 027 out of auto qa until the panic it causes gets diagnosed.
[xfstests-dev.git] / 022
1 #! /bin/sh
2 # XFS QA Test No. 022
3 # $Id: 1.1 $
4 #
5 # Test out a level 0 dump/restore to a tape of a subdir
6 # i.e. it is testing out drive_scsitape.c
7 #
8 # Use src/fsstress to create a directory structure with a mix of files
9 #
10 #-----------------------------------------------------------------------
11 # Copyright (c) 2000 Silicon Graphics, Inc.  All Rights Reserved.
12
13 # This program is free software; you can redistribute it and/or modify it
14 # under the terms of version 2 of the GNU General Public License as
15 # published by the Free Software Foundation.
16
17 # This program is distributed in the hope that it would be useful, but
18 # WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20
21 # Further, this software is distributed without any warranty that it is
22 # free of the rightful claim of any third person regarding infringement
23 # or the like.  Any license provided herein, whether implied or
24 # otherwise, applies only to this software file.  Patent licenses, if
25 # any, provided herein do not apply to combinations of this program with
26 # other software, or any other product whatsoever.
27
28 # You should have received a copy of the GNU General Public License along
29 # with this program; if not, write the Free Software Foundation, Inc., 59
30 # Temple Place - Suite 330, Boston MA 02111-1307, USA.
31
32 # Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
33 # Mountain View, CA  94043, or:
34
35 # http://www.sgi.com 
36
37 # For further information regarding this notice, see: 
38
39 # http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
40 #-----------------------------------------------------------------------
41 #
42 # creator
43 owner=tes@sherman.melbourne.sgi.com
44
45 seq=`basename $0`
46 echo "QA output created by $seq"
47
48 here=`pwd`
49 tmp=/tmp/$$
50 status=0        # success is the default!
51 trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
52
53 . ./common.rc
54 . ./common.dump
55
56 # real QA test starts here
57
58 _require_tape $TAPE_DEV
59 _create_dumpdir_stress
60 _erase_hard
61 _do_dump_sub
62 _do_restore
63 _ls_compare_sub
64
65 # success, all done
66 exit