2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
7 # Test out xfsdump/restore but rmv inventory prior to restore.
8 # This checks that the on-disk inventory can be successfully
9 # rebuilt from the on-tape inventory.
13 seqres=$RESULT_DIR/$seq
14 echo "QA output created by $seq"
18 status=1 # failure is the default!
19 trap "_cleanup; exit \$status" 0 1 2 3 15
28 # get standard environment, filters and checks
32 # real QA test starts here
35 _require_tape $TAPE_DEV
39 rm -rf /var/{,lib/}xfsdump/inventory # delete it - let cleanup fix it