overlay: run unionmount testsuite test cases
[xfstests-dev.git] / tests / xfs / 036
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 036
6 #
7 # Test xfsdump/restore minrmt to a remote IRIX tape 
8 #
9 seqfull=$0
10 seq=`basename $0`
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
13
14 here=`pwd`
15 tmp=/tmp/$$
16 status=1        # failure is the default!
17 trap "_cleanup; exit \$status" 0 1 2 3 15
18
19 _cleanup()
20 {
21         _cleanup_dump
22         cd /
23         rm -f $tmp.*
24 }
25
26 # get standard environment, filters and checks
27 . ./common/rc
28 . ./common/dump
29
30 # real QA test starts here
31 _supported_fs xfs
32 _supported_os Linux
33
34 _require_tape $RMT_IRIXTAPE_DEV
35 _create_dumpdir_fill
36 _erase_soft
37 _do_dump_min -o -F
38 _do_restore_min
39 _diff_compare
40
41 # success, all done
42 status=0
43 exit