2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
7 # Test out a level 0 dump/restore to a tape of a subdir
8 # i.e. it is testing out drive_scsitape.c
10 # Use fsstress to create a directory structure with a mix of files
14 _begin_fstest dump ioctl tape
16 status=0 # success is the default!
18 # Override the default cleanup function.
28 # real QA test starts here
31 _require_tape $TAPE_DEV
33 # note: fsstress uses an endian dependent random number generator, running this
34 # will produce different output for big/little endian machines.
35 _create_dumpdir_stress
38 # filter out the file count, it changes as fsstress adds new operations
39 _do_restore | sed -e "/entries processed$/s/[0-9][0-9]*/NUM/g"