Lines Matching refs:TESTPOOL

44 	datasetexists $TESTPOOL/$TESTFS2 && \
45 log_must zfs destroy -r $TESTPOOL/$TESTFS2
46 datasetexists $TESTPOOL/recv && \
47 log_must zfs destroy -r $TESTPOOL/recv
55 typeset keyfile=/$TESTPOOL/pkey
56 typeset sendfile=/$TESTPOOL/sendfile
57 typeset sendfile2=/$TESTPOOL/sendfile2
62 -o keylocation=file://$keyfile $TESTPOOL/$TESTFS2
66 log_must zfs set recordsize=128k $TESTPOOL/$TESTFS2
69 log_must mkfile 32M /$TESTPOOL/$TESTFS2/truncated
70 log_must mkfile 524288 /$TESTPOOL/$TESTFS2/truncated2
71 log_must mkfile 524288 /$TESTPOOL/$TESTFS2/truncated3
72 log_must mkfile 1024 /$TESTPOOL/$TESTFS2/truncated4
74 log_must zfs snapshot $TESTPOOL/$TESTFS2@snap1
85 log_must truncate -s 131072 /$TESTPOOL/$TESTFS2/truncated
86 log_must truncate -s 393216 /$TESTPOOL/$TESTFS2/truncated2
87 log_must rm -f /$TESTPOOL/$TESTFS2/truncated3
88 log_must rm -f /$TESTPOOL/$TESTFS2/truncated4
89 sync_pool $TESTPOOL
90 log_must zfs umount $TESTPOOL/$TESTFS2
91 log_must zfs mount $TESTPOOL/$TESTFS2
92 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS2/truncated3 \
94 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS2/truncated4 \
97 log_must zfs snapshot $TESTPOOL/$TESTFS2@snap2
98 expected_cksum=$(recursive_cksum /$TESTPOOL/$TESTFS2)
100 log_must eval "zfs send -wp $TESTPOOL/$TESTFS2@snap1 > $sendfile"
101 log_must eval "zfs send -wp -i @snap1 $TESTPOOL/$TESTFS2@snap2 > $sendfile2"
103 log_must eval "zfs recv -F $TESTPOOL/recv < $sendfile"
104 log_must eval "zfs recv -F $TESTPOOL/recv < $sendfile2"
105 log_must zfs load-key $TESTPOOL/recv
108 actual_cksum=$(recursive_cksum /$TESTPOOL/recv)