xref: /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/redacted.cfg (revision 61145dc2b94f12f6a47344fb9aac702321880e43)
1# SPDX-License-Identifier: CDDL-1.0
2#
3# CDDL HEADER START
4#
5# The contents of this file are subject to the terms of the
6# Common Development and Distribution License (the "License").
7# You may not use this file except in compliance with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or https://opensource.org/licenses/CDDL-1.0.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22
23#
24# Copyright (c) 2018 by Delphix. All rights reserved.
25#
26
27read -r DISK1 DISK2 _ <<<"$DISKS"
28export DISK1 DISK2
29
30export POOL=$TESTPOOL
31export POOL2=$TESTPOOL2
32export FS=$TESTFS
33export FS2=$TESTFS2
34
35#
36# These are the byte ranges that differ between files and their redacted
37# counterparts. See compare_files() for more detail.
38#
39typeset RANGE0="0,2097152"
40typeset RANGE1="0,131072"
41typeset RANGE2="1048576,2097152"
42typeset RANGE3="0,131072
431966080,131072
443932160,131072"
45typeset RANGE4="0,131072
46262144,131072
47524288,131072
48786432,131072"
49typeset RANGE5="0,1048576
507340032,1048576"
51typeset RANGE6="393216,131072
52655360,131072
53917504,131072
541179648,131072
551441792,393216
561966080,393216
572621440,262144
583145728,262144
593670016,262144
604194304,262144
614718592,262144
625242880,262144"
63typeset RANGE7="1048576,6291456"
64typeset RANGE8="4063232,131072"
65typeset RANGE9="0,131072
66262144,131072
67524288,131072
68786432,131072
691048576,131072
701310720,131072
711572864,131072
721835008,131072
732097152,131072
742359296,131072
752621440,131072
762883584,131072
773145728,131072
783407872,131072
793670016,131072
803932160,131072"
81typeset RANGE10="0,393216"
82typeset RANGE11="0,1048576"
83typeset RANGE12="0,2097152"
84typeset RANGE13="0,16384"
85typeset RANGE14=""
86typeset RANGE15="0,4194304"
87typeset RANGE16="0,6291456"
88