fstests: move test group info to test files
[xfstests-dev.git] / tests / xfs / 055
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 055
6 #
7 # Test xfsdump/restore to a remote IRIX tape using RMT user
8 #
9 seqfull=$0
10 . ./common/preamble
11 _begin_fstest dump ioctl remote tape
12
13 # Override the default cleanup function.
14 _cleanup()
15 {
16         _cleanup_dump
17         cd /
18         rm -f $tmp.*
19 }
20
21 # Import common functions.
22 . ./common/dump
23
24 # real QA test starts here
25 _supported_fs xfs
26
27 _require_tape $RMT_TAPE_USER@$RMT_IRIXTAPE_DEV
28 _create_dumpdir_fill
29 _erase_soft
30 _do_dump -o -F
31 _do_restore
32 _diff_compare
33
34 # success, all done
35 status=0
36 exit