Home
last modified time | relevance | path

Searched refs:datasetexists (Results 1 – 25 of 523) sorted by relevance

12345678910>>...21

/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/
H A Dzfs_destroy_005_neg.ksh127 check_dataset datasetexists $CTR $FS $VOL
129 if datasetexists $VOLSNAP && datasetnonexists $FSSNAP; then
132 check_dataset datasetexists $VOLSNAP $VOLCLONE
133 elif datasetexists $FSSNAP && datasetnonexists $VOLSNAP; then
136 check_dataset datasetexists $FSSNAP $FSCLONE
150 check_dataset datasetexists $CTR $FS $VOL $VOLSNAP $VOLCLONE
165 log_must datasetexists $CTR $VOL
172 if datasetexists $FS; then
173 check_dataset datasetexists $FS $FSSNAP $FSCLONE
186 log_must datasetexists $CTR $VOL $FS $FSSNAP $FSCLONE
[all …]
H A Dzfs_destroy_001_pos.ksh87 if datasetexists $CTR; then
158 $FS) check_dataset datasetexists $CTR $VOL
161 check_dataset datasetexists $VOLSNAP
165 check_dataset datasetexists $VOLCLONE
169 $VOL) check_dataset datasetexists $CTR $FS $FSSNAP
172 check_dataset datasetexists $FSCLONE
177 check_dataset datasetexists $CTR $FS $VOL $VOLSNAP
180 check_dataset datasetexists $VOLCLONE
185 check_dataset datasetexists $CTR $FS $VOL $FSSNAP
188 check_dataset datasetexists $FSCLONE
H A Dzfs_destroy_common.kshlib48 if ! datasetexists $CTR; then
51 if ! datasetexists $FS; then
55 if ! datasetexists $VOL && is_global_zone; then
66 if ! datasetexists $FSSNAP; then
69 if ! datasetexists $VOLSNAP && is_global_zone; then
75 if ! datasetexists $FSCLONE; then
78 if ! datasetexists $VOLCLONE && is_global_zone; then
134 if datasetexists $CTR; then
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_common.kshlib54 if ! datasetexists $CTR; then
57 if ! datasetexists $FS; then
61 if ! datasetexists $VOL && is_global_zone; then
74 if ! datasetexists $FSSNAP; then
77 if ! datasetexists $VOLSNAP && is_global_zone; then
83 if ! datasetexists $FSCLONE; then
86 if ! datasetexists $VOLCLONE && is_global_zone; then
106 datasetexists $CTR && destroy_dataset $CTR -Rf
170 datasetexists $TESTPOOL/$3 || \
H A Dzfs_destroy_001_pos.ksh81 datasetexists $CTR && destroy_dataset $CTR -Rf
181 $FS) check_dataset datasetexists $CTR $VOL
184 check_dataset datasetexists $VOLSNAP
188 check_dataset datasetexists $VOLCLONE
192 $VOL) check_dataset datasetexists $CTR $FS $FSSNAP
195 check_dataset datasetexists $FSCLONE
200 check_dataset datasetexists $CTR $FS $VOL $VOLSNAP
203 check_dataset datasetexists $VOLCLONE
208 check_dataset datasetexists $CTR $FS $VOL $FSSNAP
211 check_dataset datasetexists $FSCLONE
H A Dzfs_destroy_005_neg.ksh112 check_dataset datasetexists $CTR $FS $VOL
115 if datasetexists $VOLSNAP || datasetexists $FSSNAP; then
127 check_dataset datasetexists $CTR $FS $VOL $VOLSNAP $VOLCLONE
146 check_dataset datasetexists $CTR $VOL
163 check_dataset datasetexists $CTR $VOL $FS $FSSNAP $FSCLONE
191 check_dataset datasetexists $CTR $FS $VOL $FSSNAP
195 check_dataset datasetexists $CTR $FS $VOL
H A Dzfs_destroy_014_pos.ksh49 datasetexists $ds && destroy_dataset $ds -rf
58 datasetexists $ds || log_fail "Create $ds dataset fail."
64 datasetexists $ds@snap || log_fail "Create $ds@snap snapshot fail."
72 datasetexists $ds@snap && log_fail "$ds@snap exists. Destroy failed!"
77 datasetexists $ds || log_fail "Recursive snapshot destroy deleted $ds"
H A Dzfs_destroy_012_pos.ksh43 log_must datasetexists $snap
51 log_must datasetexists $snap
53 log_must datasetexists $snap
55 log_must datasetexists $snap
58 log_mustnot datasetexists $snap
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh50 datasetexists $TESTPOOL/$TESTCTR@snap-new && \
53 datasetexists $TESTPOOL/$TESTCTR@snap && \
56 datasetexists $TESTPOOL@snap-new && \
59 datasetexists $TESTPOOL@snap && \
70 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
74 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
75 log_must datasetexists $TESTPOOL@snap-new
H A Dzfs_rename.kshlib48 datasetexists $TESTPOOL/$TESTFS1 || \
55 datasetexists $TESTPOOL/$TESTCTR1 || \
82 log_mustnot datasetexists $src
83 log_must datasetexists $dest
90 if ! datasetexists ${dataset[i]}-new ; then
114 datasetexists $TESTPOOL/$RECVFS && \
H A Dzfs_rename_008_pos.ksh51 datasetexists ${datasets[$i]}@snap && \
54 datasetexists ${datasets[$i]}@snap-new && \
73 log_must datasetexists ${datasets[$i]}@snap
81 log_must datasetexists ${datasets[$i]}@snap-new
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_008_pos.ksh51 datasetexists $dset && destroy_dataset $dset -fr
60 if datasetexists $TESTPOOL/$TESTFS; then
84 if ! datasetexists $orig_fs; then
98 datasetexists $rst_fs && destroy_dataset $rst_fs -fr
103 if ! datasetexists $rst_snap; then
109 if datasetexists $rst_snap; then
117 if ! datasetexists $rst_fs; then
133 if datasetexists $rst_snap; then
H A Dzfs_receive_006_pos.ksh55 datasetexists $snap && destroy_dataset $snap -rf
62 datasetexists $TESTPOOL/$TESTFS/$TESTFS1 && \
65 datasetexists $TESTPOOL/${ZONE_CTR}0 && \
82 datasetexists $ancestor_fs || \
100 datasetexists $ancestor_fs || \
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh64 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then
68 if datasetexists $TESTPOOL/$TESTCTR@snap ; then
72 if datasetexists $TESTPOOL@snap-new ; then
76 if datasetexists $TESTPOOL@snap ; then
88 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
92 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
93 log_must datasetexists $TESTPOOL@snap-new
H A Dzfs_rename.kshlib41 datasetexists $TESTPOOL/$TESTFS1 || \
48 datasetexists $TESTPOOL/$TESTCTR1 || \
72 log_mustnot datasetexists $src
73 log_must datasetexists $dest
80 if ! datasetexists ${dataset[i]}-new ; then
H A Dzfs_rename_008_pos.ksh65 if datasetexists ${datasets[$i]}@snap ; then
68 if datasetexists ${datasets[$i]}@snap-new ; then
88 log_must datasetexists ${datasets[$i]}@snap
96 log_must datasetexists ${datasets[$i]}@snap-new
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/
H A Dzfs_receive_008_pos.ksh59 if datasetexists $dset; then
70 if datasetexists $TESTPOOL/$TESTFS; then
94 if ! datasetexists $orig_fs; then
111 if datasetexists $rst_fs; then
118 if ! datasetexists $rst_snap; then
124 if datasetexists $rst_snap; then
132 if ! datasetexists $rst_fs; then
148 if datasetexists $rst_snap; then
H A Dzfs_receive_006_pos.ksh63 datasetexists $snap && log_must $ZFS destroy -rf $snap
70 datasetexists $TESTPOOL/$TESTFS/$TESTFS1 && \
73 datasetexists $TESTPOOL/${ZONE_CTR}0 && \
90 datasetexists $ancestor_fs || \
108 datasetexists $ancestor_fs || \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_016_pos.ksh51 datasetexists $SNAPFS && destroy_dataset $SNAPFS -Rf
52 datasetexists $TESTPOOL/$TESTFS@snap_a && destroy_dataset $TESTPOOL/$TESTFS@snap_a -Rf
53 datasetexists $TESTPOOL/$TESTFS@snap_b && destroy_dataset $TESTPOOL/$TESTFS@snap_b -Rf
54 datasetexists $TESTPOOL/$TESTCLONE@snap_a && destroy_dataset $TESTPOOL/$TESTCLONE@snap_a -Rf
55 datasetexists $TESTPOOL/$TESTCLONE && destroy_dataset $TESTPOOL/$TESTCLONE
56 datasetexists $TESTPOOL/$TESTFS && destroy_dataset $TESTPOOL/$TESTFS
70 datasetexists $TESTPOOL/$TESTFS@snap_a || \
80 datasetexists $TESTPOOL/$TESTFS@snap_b || \
/freebsd/tests/sys/cddl/zfs/tests/snapshot/
H A Dsnapshot_016_pos.ksh57 datasetexists $SNAPFS && \
59 datasetexists $TESTPOOL/$TESTFS@snap_a && \
61 datasetexists $TESTPOOL/$TESTCLONE@snap_a && \
64 datasetexists $TESTPOOL/$TESTCLONE && \
66 datasetexists $TESTPOOL/$TESTFS && \
84 datasetexists $TESTPOOL/$TESTFS@snap_a || \
94 datasetexists $TESTPOOL/$TESTFS@snap_a || \
H A Dsnapshot_020_pos.ksh61 datasetexists $SNAPFS && \
63 datasetexists $TESTPOOL/$TESTFS@snap_a && \
65 datasetexists $TESTPOOL/$TESTCLONE@snap_a && \
68 datasetexists $TESTPOOL/$TESTCLONE && \
70 datasetexists $TESTPOOL/$TESTFS && \
/freebsd/tests/sys/cddl/zfs/tests/delegate/
H A Ddelegate_common.kshlib50 if datasetexists $ROOT_TESTFS ; then
56 if datasetexists $ROOT_TESTVOL ; then
445 if datasetexists $dtstsnap ; then
452 if datasetexists $dtstsnap ; then
459 if datasetexists $dtstsnap ; then
466 if ! datasetexists $dtstsnap ; then
584 if datasetexists $newfs ; then
591 if ! datasetexists $newfs ; then
599 if datasetexists $newvol ; then
606 if ! datasetexists $newvol ; then
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/delegate/
H A Ddelegate_common.kshlib390 if datasetexists $dtstsnap ; then
397 if datasetexists $dtstsnap ; then
404 if datasetexists $dtstsnap ; then
411 if ! datasetexists $dtstsnap ; then
455 if datasetexists $dtstsnap ; then
462 if ! datasetexists $dtstsnap ; then
567 if datasetexists $newfs ; then
574 if ! datasetexists $newfs ; then
584 if datasetexists $newvol ; then
591 if ! datasetexists $newvol ; then
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_holds.ksh65 datasetexists $recv_root/$TESTFS1 &&
67 datasetexists $recv_root && log_must destroy_dataset "$recv_root" "-Rf"
68 datasetexists $TESTPOOL/$TESTFS1 && log_must destroy_dataset "$TESTPOOL/$TESTFS1" "-Rf"
113 if ! datasetexists $TESTPOOL/$TESTFS1; then
133 log_must datasetexists $recv_snap
152 log_must datasetexists $recv_inc_snap
164 log_must datasetexists $recv_inc_snap2
175 log_must datasetexists $recv_inc_snap3
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/limits/
H A Dfilesystem_limit.ksh95 log_mustnot datasetexists "$DATASET_TEST/create_exceed"
100 log_mustnot datasetexists "$DATASET_TEST/clone_exceed"
114 log_mustnot datasetexists "$DATASET_UTIL/renamed"
121 log_must datasetexists "$DATASET_UTIL/renamed_notenforced_user"
131 log_mustnot datasetexists "$DATASET_TEST/received"
138 log_must datasetexists "$DATASET_TEST/received"

12345678910>>...21