Don't delete test files if they are corrupt.
[xfstests-dev.git] / 036
1 #! /bin/sh
2 # FS QA Test No. 036
3 #
4 # Test xfsdump/restore minrmt to a remote IRIX tape 
5 #
6 #-----------------------------------------------------------------------
7 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
8 #-----------------------------------------------------------------------
9 #
10 # creator
11 owner=tes@sgi.com
12
13 seq=`basename $0`
14 echo "QA output created by $seq"
15
16 here=`pwd`
17 tmp=/tmp/$$
18 status=1        # failure is the default!
19 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20
21 # get standard environment, filters and checks
22 . ./common.rc
23 . ./common.dump
24
25 # link correct .out file
26 _link_out_file $seq.out
27
28 # real QA test starts here
29 _supported_fs xfs
30 _supported_os IRIX Linux
31
32 _require_tape $RMT_IRIXTAPE_DEV
33 _create_dumpdir_fill
34 _erase_soft
35 _do_dump_min -o -F
36 _do_restore_min
37 _diff_compare
38
39 # success, all done
40 status=0
41 exit