Searched refs:TESTFS1 (Results 1 - 25 of 206) sorted by relevance

123456789

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_clones.ksh42 datasetexists $TESTPOOL/$TESTFS1 && \
43 log_must zfs destroy -Rf $TESTPOOL/$TESTFS1
52 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
54 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1/child"
55 log_must zfs snapshot $TESTPOOL/$TESTFS1/child@1
56 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone1
57 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone2
58 log_must zfs create $TESTPOOL/$TESTFS1/chil
[all...]
H A Dzfs_change-key_format.ksh45 datasetexists $TESTPOOL/$TESTFS1 && \
46 log_must zfs destroy -f $TESTPOOL/$TESTFS1
53 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
54 log_must zfs unmount $TESTPOOL/$TESTFS1
56 log_must verify_keyformat $TESTPOOL/$TESTFS1 "passphrase"
59 "$TESTPOOL/$TESTFS1"
60 log_must verify_keyformat $TESTPOOL/$TESTFS1 "hex"
62 log_must zfs unload-key $TESTPOOL/$TESTFS1
63 log_must eval "echo $HEXKEY | zfs load-key $TESTPOOL/$TESTFS1"
66 "$TESTPOOL/$TESTFS1"
[all...]
H A Dzfs_change-key_inherit.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -r $TESTPOOL/$TESTFS1
53 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
56 "$TESTPOOL/$TESTFS1/child"
58 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child \
59 "$TESTPOOL/$TESTFS1/child"
61 log_must zfs change-key -i $TESTPOOL/$TESTFS1/child
62 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child "$TESTPOOL/$TESTFS1"
64 log_must zfs unmount $TESTPOOL/$TESTFS1
[all...]
H A Dzfs_change-key_child.ksh46 datasetexists $TESTPOOL/$TESTFS1 && \
47 log_must zfs destroy -r $TESTPOOL/$TESTFS1
56 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
57 log_must zfs create $TESTPOOL/$TESTFS1/child
58 log_must zfs create -o encryption=off $TESTPOOL/$TESTFS1/child2
61 "$TESTPOOL/$TESTFS1/child"
64 "$TESTPOOL/$TESTFS1/child"
67 "$TESTPOOL/$TESTFS1/child"
69 log_must zfs unmount $TESTPOOL/$TESTFS1/child
70 log_must zfs unload-key $TESTPOOL/$TESTFS1/chil
[all...]
H A Dzfs_change-key.ksh42 datasetexists $TESTPOOL/$TESTFS1 && \
43 log_must zfs destroy -f $TESTPOOL/$TESTFS1
50 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
51 log_must eval "echo $PASSPHRASE2 | zfs change-key $TESTPOOL/$TESTFS1"
53 log_must zfs unmount $TESTPOOL/$TESTFS1
54 log_must zfs unload-key $TESTPOOL/$TESTFS1
56 log_mustnot eval "echo $PASSPHRASE1 | zfs load-key $TESTPOOL/$TESTFS1"
57 log_must key_unavailable $TESTPOOL/$TESTFS1
59 log_must eval "echo $PASSPHRASE2 | zfs load-key $TESTPOOL/$TESTFS1"
60 log_must key_available $TESTPOOL/$TESTFS1
[all...]
H A Dzfs_change-key_load.ksh40 datasetexists $TESTPOOL/$TESTFS1 && \
41 log_must zfs destroy -f $TESTPOOL/$TESTFS1
49 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
50 log_must zfs unmount $TESTPOOL/$TESTFS1
51 log_must zfs unload-key $TESTPOOL/$TESTFS1
53 log_must zfs change-key -l $TESTPOOL/$TESTFS1
54 log_must key_available $TESTPOOL/$TESTFS1
56 log_must zfs change-key -l $TESTPOOL/$TESTFS1
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_encrypted.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -f $TESTPOOL/$TESTFS1
53 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
55 log_must zfs unmount $TESTPOOL/$TESTFS1
56 log_must zfs unload-key $TESTPOOL/$TESTFS1
57 log_must key_unavailable $TESTPOOL/$TESTFS1
60 unmounted $TESTPOOL/$TESTFS1 || \
61 log_fail "Filesystem $TESTPOOL/$TESTFS1 is mounted"
63 log_must eval "echo $PASSPHRASE | zfs mount -l $TESTPOOL/$TESTFS1"
64 log_must key_available $TESTPOOL/$TESTFS1
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_to_encrypted.ksh43 datasetexists $TESTPOOL/$TESTFS1 && \
44 log_must zfs destroy -r $TESTPOOL/$TESTFS1
58 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
61 log_must eval "zfs send $snap | zfs receive $TESTPOOL/$TESTFS1/c1"
64 log_must eval "zfs send -p $snap | zfs receive $TESTPOOL/$TESTFS1/c2"
65 log_must test "$(get_prop 'encryption' $TESTPOOL/$TESTFS1/c2)" == "off"
68 log_must eval "zfs send -R $snap | zfs receive $TESTPOOL/$TESTFS1/c3"
69 log_must test "$(get_prop 'encryption' $TESTPOOL/$TESTFS1/c3)" == "off"
73 log_must zfs unmount $TESTPOOL/$TESTFS1
74 log_must zfs unload-key $TESTPOOL/$TESTFS1
[all...]
H A Dzfs_receive_raw_-d.ksh40 datasetexists $TESTPOOL/$TESTFS1 && \
41 log_must zfs destroy -r $TESTPOOL/$TESTFS1
54 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
55 log_must zfs create $TESTPOOL/$TESTFS1/child
56 log_must zfs snapshot $TESTPOOL/$TESTFS1/child@snap
57 log_must eval "zfs send -Rw $TESTPOOL/$TESTFS1/child@snap > $sendfile"
58 log_must zfs destroy -r $TESTPOOL/$TESTFS1/child
60 log_must eval "echo $passphrase | zfs mount -l $TESTPOOL/$TESTFS1/child"
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_011_pos.ksh51 if datasetexists $TESTPOOL/$TESTFS1 ; then
52 log_must zfs destroy -rf $TESTPOOL/$TESTFS1
58 typeset newdataset1="$TESTPOOL/$TESTFS1/$TESTFS/$TESTFS1"
59 typeset newdataset2="$TESTPOOL/$TESTFS1/$TESTFS/$TESTVOL1"
H A Dzfs_create_012_pos.ksh51 if datasetexists $TESTPOOL/$TESTFS1 ; then
52 log_must zfs destroy -rf $TESTPOOL/$TESTFS1
59 typeset newdataset1="$TESTPOOL/$TESTFS1/$TESTFS/$TESTFS1"
66 log_must check_fs_version $TESTPOOL/$TESTFS1/$TESTFS/$TESTFS1 1
67 for fs in $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS ; do
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_create/
H A Dzfs_create_011_pos.ksh68 if datasetexists $TESTPOOL/$TESTFS1 ; then
69 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS1
75 typeset newdataset1="$TESTPOOL/$TESTFS1/$TESTFS/$TESTFS1"
76 typeset newdataset2="$TESTPOOL/$TESTFS1/$TESTFS/$TESTVOL1"
H A Dzfs_create_012_pos.ksh72 if datasetexists $TESTPOOL/$TESTFS1 ; then
73 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS1
80 typeset newdataset1="$TESTPOOL/$TESTFS1/$TESTFS/$TESTFS1"
87 log_must check_fs_version $TESTPOOL/$TESTFS1/$TESTFS/$TESTFS1 1
88 for fs in $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS ; do
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh54 set -A bad_dataset $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR1 \
55 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
57 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
58 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
61 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS1 \
62 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTCTR/$TESTFS1 \
[all...]
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh67 set -A bad_dataset $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR1 \
68 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTCTR/$TESTFS1 \
69 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \
70 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1/$TESTFS1 \
71 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
74 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS1 \
75 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTCTR/$TESTFS1 \
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/
H A Dzfs_unload-key.ksh45 datasetexists $TESTPOOL/$TESTFS1 && \
46 log_must zfs destroy $TESTPOOL/$TESTFS1
59 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
60 log_mustnot zfs unload-key $TESTPOOL/$TESTFS1
61 log_must key_available $TESTPOOL/$TESTFS1
63 log_must zfs unmount $TESTPOOL/$TESTFS1
64 log_must zfs unload-key $TESTPOOL/$TESTFS1
65 log_must key_unavailable $TESTPOOL/$TESTFS1
67 log_mustnot zfs unload-key $TESTPOOL/$TESTFS1
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_encrypted.ksh48 datasetexists $TESTPOOL/$TESTFS1 && \
49 log_must zfs destroy -r $TESTPOOL/$TESTFS1
56 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
57 log_must zfs snapshot $TESTPOOL/$TESTFS1@now
59 log_mustnot zfs clone -o encryption=off $TESTPOOL/$TESTFS1@now \
62 "$TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2"
63 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2
64 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS1/child
66 log_must verify_encryption_root $TESTPOOL/$TESTFS2 $TESTPOOL/$TESTFS1
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_noop.ksh39 datasetexists $TESTPOOL/$TESTFS1 && \
40 log_must zfs destroy $TESTPOOL/$TESTFS1
47 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1"
49 log_must eval "echo $PASSPHRASE | zfs load-key -n $TESTPOOL/$TESTFS1"
50 log_must key_available $TESTPOOL/$TESTFS1
52 log_mustnot eval "echo $PASSPHRASE1 | zfs load-key -n $TESTPOOL/$TESTFS1"
H A Dzfs_load-key_file.ksh40 datasetexists $TESTPOOL/$TESTFS1 && \
41 log_must zfs destroy $TESTPOOL/$TESTFS1
49 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
51 log_must zfs unmount $TESTPOOL/$TESTFS1
52 log_must zfs unload-key $TESTPOOL/$TESTFS1
54 log_must zfs load-key $TESTPOOL/$TESTFS1
55 log_must key_available $TESTPOOL/$TESTFS1
56 log_must zfs mount $TESTPOOL/$TESTFS1
H A Dzfs_load-key_location.ksh46 datasetexists $TESTPOOL/$TESTFS1 && \
47 log_must zfs destroy $TESTPOOL/$TESTFS1
59 -o keylocation=file://$key_location $TESTPOOL/$TESTFS1
61 log_must zfs unmount $TESTPOOL/$TESTFS1
62 log_must zfs unload-key $TESTPOOL/$TESTFS1
64 log_must zfs load-key -L file:///$TESTPOOL/pkey2 $TESTPOOL/$TESTFS1
65 log_must key_available $TESTPOOL/$TESTFS1
66 log_must verify_keylocation $TESTPOOL/$TESTFS1 "file://$key_location"
68 log_must zfs unload-key $TESTPOOL/$TESTFS1
69 log_must eval "echo $PASSPHRASE | zfs load-key -L prompt $TESTPOOL/$TESTFS1"
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_encrypted_unloaded.ksh39 datasetexists $TESTPOOL/$TESTFS1 && \
40 log_must zfs destroy -r $TESTPOOL/$TESTFS1
49 typeset snap="$TESTPOOL/$TESTFS1@snap"
52 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
54 log_must zfs unmount $TESTPOOL/$TESTFS1
55 log_must zfs unload-key $TESTPOOL/$TESTFS1
H A Dzfs_send_encrypted.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -r $TESTPOOL/$TESTFS1
55 typeset snap="$TESTPOOL/$TESTFS1@snap"
58 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
61 "-o keyformat=passphrase $TESTPOOL/$TESTFS1/child"
69 log_must zfs unmount $TESTPOOL/$TESTFS1
70 log_must zfs unload-key $TESTPOOL/$TESTFS1
73 log_must eval "zfs send $TESTPOOL/$TESTFS1/child@snap >$TEST_BASE_DIR/devnull"
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_encryptionroot.ksh44 datasetexists $TESTPOOL/$TESTFS1 && \
45 log_must zfs destroy -Rf $TESTPOOL/$TESTFS1
56 snaproot="$TESTPOOL/$TESTFS1@snap1"
60 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
66 log_must zfs create $TESTPOOL/$TESTFS1/child0
70 log_must verify_encryption_root $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS1
71 log_must verify_encryption_root $TESTPOOL/clone1 $TESTPOOL/$TESTFS1
72 log_must verify_encryption_root $TESTPOOL/clone2 $TESTPOOL/$TESTFS1
73 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_015_pos.ksh33 datasetexists $TESTPOOL/$TESTFS1 && zfs destroy -R $TESTPOOL/$TESTFS1
42 zfs create $TESTPOOL/$TESTFS1
47 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
51 log_must zfs destroy $TESTPOOL/$TESTFS1@$snaplist
57 log_mustnot zfs destroy $TESTPOOL/$TESTFS1@snap12,snap21,sna@pple1@,s""nappy2
61 log_must zfs snapshot $TESTPOOL/$TESTFS1@snap$i
63 log_must zfs destroy $TESTPOOL/$TESTFS1@snap1,snap2,snapple1,snappy2,snap3
65 log_mustnot snapexists $TESTPOOL/$TESTFS1@snap$i
70 log_must zfs snapshot $TESTPOOL/$TESTFS1
[all...]
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_mixed_raw.ksh55 datasetexists $TESTPOOL/$TESTFS1 && \
56 log_must zfs destroy -r $TESTPOOL/$TESTFS1
65 "-o keyformat=passphrase $TESTPOOL/$TESTFS1"
67 log_must zfs snapshot $TESTPOOL/$TESTFS1@1
68 log_must touch /$TESTPOOL/$TESTFS1/a
69 log_must zfs snapshot $TESTPOOL/$TESTFS1@2
70 log_must touch /$TESTPOOL/$TESTFS1/b
71 log_must zfs snapshot $TESTPOOL/$TESTFS1@3
74 log_must eval "zfs send -w $TESTPOOL/$TESTFS1@1 |" \
81 log_must eval "zfs send -i $TESTPOOL/$TESTFS1
[all...]

Completed in 136 milliseconds

123456789