1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21 22# 23# Copyright (c) 2018 by Delphix. All rights reserved. 24# 25 26read -r DISK1 DISK2 _ <<<"$DISKS" 27export DISK1 DISK2 28 29export POOL=$TESTPOOL 30export POOL2=$TESTPOOL2 31export FS=$TESTFS 32export FS2=$TESTFS2 33 34# 35# These are the byte ranges that differ between files and their redacted 36# counterparts. See compare_files() for more detail. 37# 38typeset RANGE0="0,2097152" 39typeset RANGE1="0,131072" 40typeset RANGE2="1048576,2097152" 41typeset RANGE3="0,131072 421966080,131072 433932160,131072" 44typeset RANGE4="0,131072 45262144,131072 46524288,131072 47786432,131072" 48typeset RANGE5="0,1048576 497340032,1048576" 50typeset RANGE6="393216,131072 51655360,131072 52917504,131072 531179648,131072 541441792,393216 551966080,393216 562621440,262144 573145728,262144 583670016,262144 594194304,262144 604718592,262144 615242880,262144" 62typeset RANGE7="1048576,6291456" 63typeset RANGE8="4063232,131072" 64typeset RANGE9="0,131072 65262144,131072 66524288,131072 67786432,131072 681048576,131072 691310720,131072 701572864,131072 711835008,131072 722097152,131072 732359296,131072 742621440,131072 752883584,131072 763145728,131072 773407872,131072 783670016,131072 793932160,131072" 80typeset RANGE10="0,393216" 81typeset RANGE11="0,1048576" 82typeset RANGE12="0,2097152" 83typeset RANGE13="0,16384" 84typeset RANGE14="" 85typeset RANGE15="0,4194304" 86typeset RANGE16="0,6291456" 87