3 #-----------------------------------------------------------------------
4 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License as
8 # published by the Free Software Foundation.
10 # This program is distributed in the hope that it would be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 #-----------------------------------------------------------------------
23 # Test restoring a dump created in IRIX/XFS
29 echo "QA output created by $seq"
33 status=0 # success is the default!
34 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
36 # get standard environment, filters and checks
40 # real QA test starts here
42 _supported_os IRIX Linux
44 # src/dumpfile based on dumping from
45 # _create_dumpdir_fill_perm (small dump)
47 _create_dumpdir_fill_perm
48 dump_file=src/dumpfile # override dump_file to checked-in dumpfile
49 session_label="stress_056"
50 # we have no quotas to restore
51 # if we happen to run this on crackle then put the hostname back
52 _do_restore_file -Q | sed -e 's/HOSTNAME/crackle/g' -e 's#SCRATCH_DEV#/dev/dsk/dks0d2s1#'
54 _ls_nodate_compare_sub