Lines Matching refs:ds

52 	destroy_dataset $TESTPOOL/ds "-r"
62 typeset snap=$TESTPOOL/ds@snap1
63 typeset snap2=$TESTPOOL/ds@snap2
69 log_must zfs create $TESTPOOL/ds
70 log_must zfs create $TESTPOOL/ds/ds1
78 log_must mkfile 1M /$TESTPOOL/ds/$TESTFILE0
79 log_must cp /$TESTPOOL/ds/$TESTFILE0 /$TESTPOOL/crypt/$TESTFILE0
80 typeset cksum=$(digest -a md5 /$TESTPOOL/ds/$TESTFILE0)
124 ds=$TESTPOOL/recv
127 "-o keylocation=file://$keyfile $ds < $sendfile"
128 log_must test "$(get_prop 'encryption' $ds)" == "aes-256-ccm"
129 log_must test "$(get_prop 'encryptionroot' $ds)" == "$ds"
130 log_must test "$(get_prop 'keyformat' $ds)" == "passphrase"
131 log_must test "$(get_prop 'keylocation' $ds)" == "file://$keyfile"
132 log_must test "$(get_prop 'mounted' $ds)" == "yes"
133 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
135 log_must zfs destroy -r $ds
140 ds=$TESTPOOL/recv
143 "-o keylocation=file://$keyfile $ds < $sendfile"
144 log_must test "$(get_prop 'encryption' $ds)" == "aes-256-ccm"
145 log_must test "$(get_prop 'encryptionroot' $ds)" == "$ds"
146 log_must test "$(get_prop 'keyformat' $ds)" == "passphrase"
147 log_must test "$(get_prop 'keylocation' $ds)" == "file://$keyfile"
148 log_must test "$(get_prop 'mounted' $ds)" == "yes"
149 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
151 log_must zfs destroy -r $ds
158 ds=$TESTPOOL/recv
161 "-o keylocation=file://$keyfile $ds < $sendfile"
162 log_must test "$(get_prop 'encryption' $ds)" == "aes-256-ccm"
163 log_must test "$(get_prop 'encryptionroot' $ds)" == "$ds"
164 log_must test "$(get_prop 'keyformat' $ds)" == "passphrase"
165 log_must test "$(get_prop 'keylocation' $ds)" == "file://$keyfile"
166 log_must test "$(get_prop 'mounted' $ds)" == "yes"
167 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
169 log_must zfs destroy -r $ds
174 ds=$TESTPOOL/crypt/recv
176 log_must eval "zfs recv -x encryption $ds < $sendfile"
177 log_must test "$(get_prop 'encryptionroot' $ds)" == "$TESTPOOL/crypt"
178 log_must test "$(get_prop 'encryption' $ds)" == "aes-256-ccm"
179 log_must test "$(get_prop 'keyformat' $ds)" == "passphrase"
180 log_must test "$(get_prop 'mounted' $ds)" == "yes"
181 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
183 log_must zfs destroy -r $ds
188 ds=$TESTPOOL/crypt/recv
190 log_must eval "zfs recv -x encryption $ds < $sendfile"
191 log_must test "$(get_prop 'encryptionroot' $ds)" == "$TESTPOOL/crypt"
192 log_must test "$(get_prop 'encryption' $ds)" == "aes-256-ccm"
193 log_must test "$(get_prop 'keyformat' $ds)" == "passphrase"
194 log_must test "$(get_prop 'mounted' $ds)" == "yes"
195 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
197 log_must zfs destroy -r $ds
202 ds=$TESTPOOL/crypt/recv
204 log_must eval "zfs recv -x encryption $ds < $sendfile"
205 log_must test "$(get_prop 'encryptionroot' $ds)" == "$TESTPOOL/crypt"
206 log_must test "$(get_prop 'encryption' $ds)" == "aes-256-ccm"
207 log_must test "$(get_prop 'keyformat' $ds)" == "passphrase"
208 log_must test "$(get_prop 'mounted' $ds)" == "yes"
209 recv_cksum=$(digest -a md5 /$ds/$TESTFILE0)
211 log_must zfs destroy -r $ds