Home
last modified time | relevance | path

Searched refs:TESTFS2 (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_unload_keys.ksh48 datasetexists $TESTPOOL/$TESTFS2 && \
49 destroy_dataset $TESTPOOL/$TESTFS2 -r
50 datasetexists $TESTPOOL/$TESTFS2/newroot && \
51 destroy_dataset $TESTPOOL/$TESTFS2/newroot -r
52 datasetexists $TESTPOOL/$TESTFS2/child && \
53 destroy_dataset $TESTPOOL/$TESTFS2/child -r
61 log_must zfs create $TESTPOOL/$TESTFS2/child
67 log_must zfs umount -u $TESTPOOL/$TESTFS2
68 log_must key_unavailable $TESTPOOL/$TESTFS2
74 log_must zfs clone $TESTPOOL/$TESTFS2/newroot@1 $TESTPOOL/$TESTFS2/clone
[all …]
H A Dzfs_unmount_001_pos.ksh57 datasetexists $TESTPOOL/$TESTFS2 && \
58 destroy_dataset $TESTPOOL/$TESTFS2
72 if ! datasetexists $TESTPOOL/$TESTFS2 ; then
73 log_must zfs create $TESTPOOL/$TESTFS2
75 $TESTPOOL/$TESTFS2
78 unmounted $TESTPOOL/$TESTFS2 && \
79 log_must zfs mount $TESTPOOL/$TESTFS2
93 set -A dev "$TESTPOOL/$TESTFS2" "$TESTDIR2"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_recursive.ksh54 destroy_dataset $TESTPOOL/$TESTFS2 -R
63 log_must zfs create $TESTPOOL/$TESTFS2
86 log_must mounted $TESTPOOL/$TESTFS2
88 log_must mounted $TESTPOOL/$TESTFS2/child1
89 log_must mounted $TESTPOOL/$TESTFS2/child2
90 log_must mounted $TESTPOOL/$TESTFS2/child3
99 log_mustnot mounted $TESTPOOL/$TESTFS2
112 log_must mounted $TESTPOOL/$TESTFS2
114 log_must mounted $TESTPOOL/$TESTFS2/child1
125 log_mustnot mounted $TESTPOOL/$TESTFS2
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_mixed_raw.ksh53 datasetexists $TESTPOOL/$TESTFS2 && \
75 "zfs receive $TESTPOOL/$TESTFS2"
82 "zfs receive $TESTPOOL/$TESTFS2"
83 log_must eval "zfs send -w -i $TESTPOOL/$TESTFS2@1 $TESTPOOL/$TESTFS2@2 |" \
87 "zfs receive $TESTPOOL/$TESTFS2"
88 log_mustnot eval "zfs send -w -i $TESTPOOL/$TESTFS2@2 $TESTPOOL/$TESTFS2@3 |" \
92 log_must zfs destroy -r $TESTPOOL/$TESTFS2
99 "zfs receive $TESTPOOL/$TESTFS2"
102 log_must zfs bookmark $TESTPOOL/$TESTFS2@1 $TESTPOOL/$TESTFS2#b1
109 "zfs receive $TESTPOOL/$TESTFS2"
[all …]
H A Dsend_encrypted_files.ksh48 datasetexists $TESTPOOL/$TESTFS2 && \
49 destroy_dataset $TESTPOOL/$TESTFS2 -r
69 log_must touch /$TESTPOOL/$TESTFS2/empty
70 log_must mkfile 512 /$TESTPOOL/$TESTFS2/small
71 log_must mkfile 32M /$TESTPOOL/$TESTFS2/full
75 log_must mkdir -p /$TESTPOOL/$TESTFS2/dir
81 log_must zfs set xattr=on $TESTPOOL/$TESTFS2
84 log_must zfs set xattr=sa $TESTPOOL/$TESTFS2
89 log_must touch /$TESTPOOL/$TESTFS2/attrs
94 log_must zfs snapshot $TESTPOOL/$TESTFS2@snap1
[all …]
H A Dsend_encrypted_truncated_files.ksh44 datasetexists $TESTPOOL/$TESTFS2 && \
45 destroy_dataset $TESTPOOL/$TESTFS2 -r
76 -o keylocation=file://$keyfile $TESTPOOL/$TESTFS2
80 log_must zfs set recordsize=128k $TESTPOOL/$TESTFS2
83 log_must mkfile 32M /$TESTPOOL/$TESTFS2/truncated
88 log_must zfs snapshot $TESTPOOL/$TESTFS2@snap1
101 log_must rm -f /$TESTPOOL/$TESTFS2/truncated3
102 log_must rm -f /$TESTPOOL/$TESTFS2/truncated4
104 log_must zfs umount $TESTPOOL/$TESTFS2
105 log_must zfs mount $TESTPOOL/$TESTFS2
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_encrypted_child.ksh44 datasetexists $TESTPOOL/$TESTFS2 && \
45 destroy_dataset $TESTPOOL/$TESTFS2 -r
56 log_must zfs create $TESTPOOL/$TESTFS2/child
57 log_must zfs create $TESTPOOL/$TESTFS2/child/grandchild
61 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
67 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
68 $TESTPOOL/$TESTFS2/child/grandchild2
70 $TESTPOOL/$TESTFS2
72 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild2 \
73 $TESTPOOL/$TESTFS2/grandchild2
[all …]
H A Dzfs_rename_to_encrypted.ksh39 datasetexists $TESTPOOL/$TESTFS2 && \
40 destroy_dataset $TESTPOOL/$TESTFS2 -r
48 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS2"
49 log_must zfs rename $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS2/$TESTFS
50 log_must test "$(get_prop 'encryption' $TESTPOOL/$TESTFS2/$TESTFS)" == "off"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_encrypted.ksh74 datasetexists $TESTPOOL/$TESTFS2 && \
75 destroy_dataset $TESTPOOL/$TESTFS2 -r
107 "-o keyformat=passphrase $TESTPOOL/$TESTFS2"
109 log_must zfs create $TESTPOOL/$TESTFS2/c1
112 "$TESTPOOL/$TESTFS2/c3"
114 "-o keylocation=prompt $TESTPOOL/$TESTFS2/c4"
120 $TESTPOOL/$TESTFS2/c5
122 $TESTPOOL/$TESTFS2/c5
124 -o keylocation=prompt $TESTPOOL/$TESTFS2/c5
127 "$TESTPOOL/$TESTFS2/c6"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_raw_incremental.ksh48 datasetexists $TESTPOOL/$TESTFS2 && \
49 destroy_dataset $TESTPOOL/$TESTFS2 -r
76 log_must eval "zfs send -w $snap1 | zfs receive $TESTPOOL/$TESTFS2"
84 log_mustnot eval "zfs receive $TESTPOOL/$TESTFS2 < $ibackup_trunc"
85 log_mustnot eval "echo $passphrase2 | zfs load-key $TESTPOOL/$TESTFS2"
86 log_must eval "echo $passphrase | zfs load-key $TESTPOOL/$TESTFS2"
87 log_must zfs unload-key $TESTPOOL/$TESTFS2
89 log_must eval "zfs receive $TESTPOOL/$TESTFS2 < $ibackup"
90 log_must eval "echo $passphrase2 | zfs mount -l $TESTPOOL/$TESTFS2"
92 typeset cksum1=$(md5digest /$TESTPOOL/$TESTFS2/$TESTFILE0)
H A Dzfs_receive_from_encrypted.ksh46 datasetexists $TESTPOOL/$TESTFS2 && \
47 destroy_dataset $TESTPOOL/$TESTFS2 -r
55 typeset snap="$TESTPOOL/$TESTFS2@snap"
59 "-o keyformat=passphrase $TESTPOOL/$TESTFS2"
61 log_must mkfile 1M /$TESTPOOL/$TESTFS2/$TESTFILE0
62 typeset checksum=$(md5digest /$TESTPOOL/$TESTFS2/$TESTFILE0)
77 log_must eval "zfs send $snap | zfs receive $TESTPOOL/$TESTFS2/c1"
79 typeset cksum2=$(md5digest /$TESTPOOL/$TESTFS2/c1/$TESTFILE0)
H A Dzfs_receive_from_zstd.ksh45 datasetexists $TESTPOOL/$TESTFS2 && \
46 destroy_dataset $TESTPOOL/$TESTFS2 -r
80 log_must eval "zfs send -ec $snap | zfs receive $TESTPOOL/$TESTFS2"
82 typeset cksum1=$(md5digest /$TESTPOOL/$TESTFS2/$TESTFILE0)
87 read -r obj _ < <(ls -i /$TESTPOOL/$TESTFS2/$TESTFILE0)
88 log_note "file /$TESTPOOL/$TESTFS2/$TESTFILE0 has object number $obj"
90 output=$(zdb -Zddddddbbbbbb $TESTPOOL/$TESTFS2 $obj 2> /dev/null \
93 log_note "block 0 of /$TESTPOOL/$TESTFS2/$TESTFILE0 has a DVA of $dva"
H A Dzfs_receive_raw.ksh49 datasetexists $TESTPOOL/$TESTFS2 && \
50 destroy_dataset $TESTPOOL/$TESTFS2 -r
69 log_must eval "zfs send -w $snap | zfs receive $TESTPOOL/$TESTFS2"
71 keystatus=$(get_prop keystatus $TESTPOOL/$TESTFS2)
75 log_must eval "echo $passphrase | zfs mount -l $TESTPOOL/$TESTFS2"
77 typeset cksum1=$(md5digest /$TESTPOOL/$TESTFS2/$TESTFILE0)
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_encrypted.ksh46 datasetexists $TESTPOOL/$TESTFS2 && \
47 destroy_dataset $TESTPOOL/$TESTFS2 -f
60 $TESTPOOL/$TESTFS2
62 "$TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2"
63 log_must zfs clone $TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2
66 log_must verify_encryption_root $TESTPOOL/$TESTFS2 $TESTPOOL/$TESTFS1
70 log_must zfs unmount $TESTPOOL/$TESTFS2
77 log_must key_available $TESTPOOL/$TESTFS2
81 log_must zfs mount $TESTPOOL/$TESTFS2
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/
H A Dzfs_unmount_001_pos.ksh65 datasetexists $TESTPOOL/$TESTFS2 && \
66 log_must $ZFS destroy $TESTPOOL/$TESTFS2
80 if ! datasetexists $TESTPOOL/$TESTFS2 ; then
81 log_must $ZFS create $TESTPOOL/$TESTFS2
83 $TESTPOOL/$TESTFS2
86 unmounted $TESTPOOL/$TESTFS2 && \
87 log_must $ZFS mount $TESTPOOL/$TESTFS2
101 set -A dev "$TESTPOOL/$TESTFS2" "$TESTDIR2"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/
H A Dzpool_scrub_encrypted_unloaded.ksh41 datasetexists $TESTPOOL/$TESTFS2 && \
42 destroy_dataset $TESTPOOL/$TESTFS2
49 "-o keyformat=passphrase $TESTPOOL/$TESTFS2"
51 typeset mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS2)
58 log_must zfs unmount $TESTPOOL/$TESTFS2
59 log_must zfs unload-key $TESTPOOL/$TESTFS2
65 log_must eval "echo 'password' | zfs mount -l $TESTPOOL/$TESTFS2"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_diff/
H A Dzfs_diff_encrypted.ksh35 destroy_dataset "$TESTPOOL/$TESTFS2" "-r"
56 -o encryption=on -o keyformat=passphrase $TESTPOOL/$TESTFS2"
57 MNTPOINT="$(get_prop mountpoint $TESTPOOL/$TESTFS2)"
58 log_must zfs snapshot $TESTPOOL/$TESTFS2@snap1
60 log_must zfs snapshot $TESTPOOL/$TESTFS2@snap2
61 log_must zfs diff -Ft $TESTPOOL/$TESTFS2@snap1 $TESTPOOL/$TESTFS2@snap2
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_015_pos.ksh34 datasetexists $TESTPOOL/$TESTFS2 && destroy_dataset $TESTPOOL/$TESTFS2 -R
118 log_must zfs create $TESTPOOL/$TESTFS2
119 log_must zfs snapshot $TESTPOOL/$TESTFS2@fs2snap
120 log_must zfs create $TESTPOOL/$TESTFS1/$TESTFS2
124 long_arg=$long_arg$TESTPOOL/$TESTFS1/$TESTFS2@fs12snap
127 log_must snapexists $TESTPOOL/$TESTFS2@fs2snap
128 log_must snapexists $TESTPOOL/$TESTFS1/$TESTFS2@fs12snap
131 log_must snapexists $TESTPOOL/$TESTFS2@fs2snap
132 log_must snapexists $TESTPOOL/$TESTFS1/$TESTFS2@fs12snap
136 log_mustnot snapexists $TESTPOOL/$TESTFS2@fs2snap
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/
H A Dzfs_unshare_002_pos.ksh71 snapexists "$TESTPOOL/$TESTFS2@snapshot" && \
72 destroy_dataset $TESTPOOL/$TESTFS2@snapshot -f
74 datasetexists "$TESTPOOL/$TESTFS2" && \
75 destroy_dataset $TESTPOOL/$TESTFS2 -f
123 log_must zfs create $TESTPOOL/$TESTFS2
124 log_must zfs snapshot $TESTPOOL/$TESTFS2@snapshot
125 log_must zfs clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE
H A Dzfs_unshare_001_pos.ksh68 snapexists "$TESTPOOL/$TESTFS2@snapshot" && \
69 destroy_dataset $TESTPOOL/$TESTFS2@snapshot -f
71 datasetexists "$TESTPOOL/$TESTFS2" && \
72 destroy_dataset $TESTPOOL/$TESTFS2 -f
125 log_must zfs create $TESTPOOL/$TESTFS2
126 log_must zfs snapshot $TESTPOOL/$TESTFS2@snapshot
127 log_must zfs clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_all.ksh41 datasetexists $TESTPOOL/$TESTFS2 && destroy_dataset $TESTPOOL/$TESTFS2
54 -o keylocation=$(get_https_base_url)/PASSPHRASE $TESTPOOL/$TESTFS2
67 log_must zfs unmount $TESTPOOL/$TESTFS2
68 log_must_busy zfs unload-key $TESTPOOL/$TESTFS2
80 log_must key_available $TESTPOOL/$TESTFS2
84 log_must zfs mount $TESTPOOL/$TESTFS2
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/
H A Dzfs_unshare_002_pos.ksh77 if snapexists "$TESTPOOL/$TESTFS2@snapshot"; then
78 log_must $ZFS destroy -f $TESTPOOL/$TESTFS2@snapshot
81 if datasetexists "$TESTPOOL/$TESTFS2"; then
82 log_must $ZFS destroy -f $TESTPOOL/$TESTFS2
130 log_must $ZFS create $TESTPOOL/$TESTFS2
131 log_must $ZFS snapshot $TESTPOOL/$TESTFS2@snapshot
132 log_must $ZFS clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE
H A Dzfs_unshare_001_pos.ksh78 if snapexists "$TESTPOOL/$TESTFS2@snapshot"; then
79 log_must $ZFS destroy -f $TESTPOOL/$TESTFS2@snapshot
82 if datasetexists "$TESTPOOL/$TESTFS2"; then
83 log_must $ZFS destroy -f $TESTPOOL/$TESTFS2
141 log_must $ZFS create $TESTPOOL/$TESTFS2
142 log_must $ZFS snapshot $TESTPOOL/$TESTFS2@snapshot
143 log_must $ZFS clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_009_pos.ksh42 datasets="$TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS2
49 invalid_args=("$TESTPOOL/$TESTFS1@now $TESTPOOL/$TESTFS2@now \
51 $TESTPOOL/$TESTFS2@blah? $TESTPOOL/$TESTFS3@blah%" \
52 "$TESTPOOL/$TESTFS1@x$SNAPSHOT_XXX $TESTPOOL/$TESTFS2@300 \
55 valid_args=("$TESTPOOL/$TESTFS1@snap $TESTPOOL/$TESTFS2@snap \
57 $TESTPOOL/$TESTFS2@2 $TESTPOOL/$TESTFS3@s")
108 log_mustnot zfs snapshot -r $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS2@snap1 \
112 log_must zfs snapshot -r $TESTPOOL/$TESTFS1@snap1 $TESTPOOL/$TESTFS2@snap1 \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_006_pos.ksh55 datasetexists $TESTPOOL/$TESTCTR/$TESTFS2 && \
56 destroy_dataset $TESTPOOL/$TESTCTR/$TESTFS2
90 log_must zfs create $ctr/$TESTFS2
91 log_must zfs set mountpoint=$mntp2 $ctr/$TESTFS2

1234