2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
7 # Test restoring a dump created in IRIX/XFS
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=0 # success is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
25 # get standard environment, filters and checks
29 # real QA test starts here
32 # src/dumpfile based on dumping from
33 # _create_dumpdir_fill_perm (small dump)
35 _create_dumpdir_fill_perm
36 # override dump_file to checked-in dumpfile
37 # we have no quotas to restore
38 # if we happen to run this on crackle then put the hostname back
39 _do_restore_file --no-check-quota -f $here/src/dumpfile -L stress_056 |
40 sed -e 's/HOSTNAME/crackle/g' -e 's#SCRATCH_DEV#/dev/dsk/dks0d2s1#'
42 _ls_nodate_compare_sub