2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2011 SGI. All Rights Reserved.
7 # Test xfsdump with a file spanning multiple media files.
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
15 status=0 # success is the default!
16 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
19 # create a 40 MiB file with an extended attr.
20 # xfsdump writes file data in "extent groups", currently 16 MiB in size. After
21 # writing an extent group or finishing a file, xfsdump will start a new media
22 # file if it is over the suggested size. With a single 40 MiB file and using a
23 # suggested media file size of 12 MiB below, this dump will be contained in 3
28 cat <<End-of-File >$tmp.config
29 # pathname size user group perm name value namespace
30 biggg 41943040 $nobody $nobody 777 attr1 some_text1 root
34 _do_create_dumpdir_fill
38 # get standard environment, filters and checks
43 # real QA test starts here
47 _require_tape $TAPE_DEV