fstests: remove _wipe_fs from dump testing entirely
[xfstests-dev.git] / tests / xfs / 038
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. 038
6 #
7 # Test xfsdump/restore to a remote linux tape 
8 #
9 . ./common/preamble
10 _begin_fstest dump ioctl remote tape
11
12 # Override the default cleanup function.
13 _cleanup()
14 {
15         _cleanup_dump
16         cd /
17         rm -f $tmp.*
18 }
19
20 # Import common functions.
21 . ./common/dump
22
23 # real QA test starts here
24 _supported_fs xfs
25
26 _require_tape $RMT_TAPE_DEV
27 _require_scratch
28 _scratch_mkfs_xfs >>$seqres.full || _fail "mkfs failed"
29 _scratch_mount
30 _create_dumpdir_fill
31 _erase_hard
32 _do_dump
33 _do_restore
34 _diff_compare
35
36 # success, all done
37 status=0
38 exit