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 _begin_fstest dump ioctl auto quick
12 status=0 # success is the default!
14 # Override the default cleanup function.
22 # Import common functions.
25 # real QA test starts here
28 # src/dumpfile based on dumping from
29 # _create_dumpdir_fill_perm (small dump)
31 _create_dumpdir_fill_perm
32 # override dump_file to checked-in dumpfile
33 # we have no quotas to restore
34 # if we happen to run this on crackle then put the hostname back
35 _do_restore_file --no-check-quota -f $here/src/dumpfile -L stress_056 |
36 sed -e 's/HOSTNAME/crackle/g' -e 's#SCRATCH_DEV#/dev/dsk/dks0d2s1#'
38 _ls_nodate_compare_sub