fstests: convert remaining tests to SPDX license tags
[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 "rm -f $tmp.*; exit \$status" 0 1 2 3 15
18
19 # get standard environment, filters and checks
20 . ./common/rc
21 . ./common/dump
22
23 # real QA test starts here
24 _supported_fs xfs
25 _supported_os Linux
26
27 _require_tape $RMT_IRIXTAPE_DEV
28 _create_dumpdir_fill
29 _erase_soft
30 _do_dump_min -o -F
31 _do_restore_min
32 _diff_compare
33
34 # success, all done
35 status=0
36 exit