/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_clone_livelist_dedup.ksh | 45 clone_dataset $TESTFS1 snap $TESTCLONE 48 log_must zfs set dedup=on $TESTPOOL/$TESTCLONE 51 log_must dd if=/dev/urandom of="/$TESTPOOL/$TESTCLONE/data" bs=512 count=10k 58 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-0 59 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-1 60 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-2 61 log_must cp /$TESTPOOL/$TESTCLONE/data /$TESTPOOL/$TESTCLONE/data-dup-3 63 check_livelist_exists $TESTCLONE 71 log_must rm /$TESTPOOL/$TESTCLONE/data-dup-2 72 log_must rm /$TESTPOOL/$TESTCLONE/data-dup-3 [all …]
|
H A D | zfs_destroy_clone_livelist.ksh | 56 clone_dataset $TESTFS1 snap $TESTCLONE 58 log_must zfs destroy $TESTPOOL/$TESTCLONE 64 clone_dataset $TESTFS1 snap $TESTCLONE 66 clone_write_file $TESTCLONE $TESTFILE0 67 clone_write_file $TESTCLONE $TESTFILE1 68 clone_write_file $TESTCLONE $TESTFILE2 69 log_must rm /$TESTPOOL/$TESTCLONE/$TESTFILE0 70 log_must rm /$TESTPOOL/$TESTCLONE/$TESTFILE2 71 check_livelist_exists $TESTCLONE 73 log_must zfs destroy $TESTPOOL/$TESTCLONE [all …]
|
H A D | zfs_clone_livelist_condense_and_disable.ksh | 65 clone_dataset $TESTFS1 snap $TESTCLONE 69 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/testfile$i 77 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/testfile$i 83 log_must zfs destroy $TESTPOOL/$TESTCLONE 91 clone_dataset $TESTFS1 snap $TESTCLONE 93 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/$TESTFILE0 94 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/$TESTFILE1 98 log_must zfs destroy -R $TESTPOOL/$TESTCLONE 102 clone_dataset $TESTFS1 snap $TESTCLONE 104 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/$TESTFILE0 [all …]
|
H A D | zfs_clone_livelist_condense_races.ksh | 51 log_must zfs clone $TESTPOOL/$TESTFS1@snap $TESTPOOL/$TESTCLONE 54 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/out 56 log_must zfs destroy $TESTPOOL/$TESTCLONE 65 log_must zfs clone $TESTPOOL/$TESTFS1@snap $TESTPOOL/$TESTCLONE 68 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/out 74 log_must zfs destroy $TESTPOOL/$TESTCLONE 80 log_must zfs clone $TESTPOOL/$TESTFS1@snap $TESTPOOL/$TESTCLONE 83 log_must mkfile 5m /$TESTPOOL/$TESTCLONE/out 86 log_must mkfile 100m /$TESTPOOL/$TESTCLONE/atestfile 90 log_must zfs destroy $TESTPOOL/$TESTCLONE
|
H A D | zfs_destroy_dev_removal.ksh | 52 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE 54 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/$TESTFILE0 55 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/$TESTFILE1 56 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/$TESTFILE2 62 log_must rm /$TESTPOOL2/$TESTCLONE/$TESTFILE0 63 log_must rm /$TESTPOOL2/$TESTCLONE/$TESTFILE1 65 log_must zfs destroy $TESTPOOL2/$TESTCLONE
|
H A D | zfs_destroy_dev_removal_condense.ksh | 63 log_must zfs clone $TESTPOOL2/$TESTFS@snap $TESTPOOL2/$TESTCLONE 66 log_must mkfile 10m /$TESTPOOL2/$TESTCLONE/A 67 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/B 78 log_must mkfile 10m /$TESTPOOL2/$TESTCLONE/A 80 log_must mkfile 10m /$TESTPOOL2/$TESTCLONE/A 83 log_must mkfile 1m /$TESTPOOL2/$TESTCLONE/B 92 log_must zfs destroy $TESTPOOL2/$TESTCLONE
|
/freebsd/tests/sys/cddl/zfs/tests/snapshot/ |
H A D | snapshot_016_pos.ksh | 61 datasetexists $TESTPOOL/$TESTCLONE@snap_a && \ 62 log_must $ZFS destroy -Rf $TESTPOOL/$TESTCLONE@snap_a 64 datasetexists $TESTPOOL/$TESTCLONE && \ 65 log_must $ZFS destroy $TESTPOOL/$TESTCLONE 91 log_must $ZFS clone $SNAPFS $TESTPOOL/$TESTCLONE 96 log_must $ZFS promote $TESTPOOL/$TESTCLONE 99 log_must $ZFS destroy $TESTPOOL/$TESTCLONE 105 log_must $ZFS clone $SNAPFS $TESTPOOL/$TESTCLONE 107 log_must $ZFS promote $TESTPOOL/$TESTCLONE 109 log_must $ZFS destroy $TESTPOOL/$TESTCLONE@snap_a
|
H A D | snapshot_020_pos.ksh | 65 datasetexists $TESTPOOL/$TESTCLONE@snap_a && \ 66 log_must $ZFS destroy -Rf $TESTPOOL/$TESTCLONE@snap_a 68 datasetexists $TESTPOOL/$TESTCLONE && \ 69 log_must $ZFS destroy $TESTPOOL/$TESTCLONE
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/ |
H A D | snapshot_016_pos.ksh | 53 datasetexists $TESTPOOL/$TESTCLONE@snap_a && destroy_dataset $TESTPOOL/$TESTCLONE@snap_a -Rf 54 datasetexists $TESTPOOL/$TESTCLONE && destroy_dataset $TESTPOOL/$TESTCLONE 76 log_must zfs clone $SNAPFS $TESTPOOL/$TESTCLONE 81 log_must zfs promote $TESTPOOL/$TESTCLONE 84 log_must zfs destroy $TESTPOOL/$TESTCLONE 90 log_must zfs clone $SNAPFS $TESTPOOL/$TESTCLONE 92 log_must zfs promote $TESTPOOL/$TESTCLONE 94 log_must zfs destroy $TESTPOOL/$TESTCLONE@snap_a
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/ |
H A D | zfs_clone_010_pos.ksh | 41 datasetexists $ds/$TESTCLONE.$i && \ 42 destroy_dataset $ds/$TESTCLONE.$i -rf 68 log_must zfs clone $ds@snap $fs/$TESTCLONE.$i 83 clone_snap=/$TESTCLONE.$i 103 unexpected_clone=$fs/$TESTCLONE.$i 110 unexpected_clone=$fs/$TESTCLONE.$i 118 expected_clone=$fs/$TESTCLONE.$i 127 expected_clone=$fs/$TESTCLONE.$i 155 log_must zfs destroy $ds/$TESTCLONE.$i 177 log_must zfs destroy $fs/$TESTCLONE.$i [all …]
|
H A D | zfs_clone_005_pos.ksh | 63 $TESTPOOL/$TESTCLONE 66 datasetexists $TESTPOOL/$TESTCLONE || \ 67 log_fail "zfs clone $TESTPOOL/$TESTCLONE fail." 68 propertycheck $TESTPOOL/$TESTCLONE ${RW_VOL_CLONE_PROP[i]} || \ 70 log_must zfs destroy -f $TESTPOOL/$TESTCLONE
|
H A D | zfs_clone_003_pos.ksh | 65 log_must zfs clone -o ${RW_FS_PROP[$i]} $SNAPFS $TESTPOOL/$TESTCLONE 66 datasetexists $TESTPOOL/$TESTCLONE || \ 67 log_fail "zfs clone $TESTPOOL/$TESTCLONE fail." 68 propertycheck $TESTPOOL/$TESTCLONE ${RW_FS_PROP[i]} || \ 70 log_must zfs destroy -f $TESTPOOL/$TESTCLONE
|
H A D | zfs_clone_004_pos.ksh | 71 log_must zfs clone $opts $SNAPFS $TESTPOOL/$TESTCLONE 72 datasetexists $TESTPOOL/$TESTCLONE || \ 73 log_fail "zfs create $TESTPOOL/$TESTCLONE fail." 78 propertycheck $TESTPOOL/$TESTCLONE ${RW_FS_PROP[i]} || \
|
H A D | zfs_clone_008_neg.ksh | 63 $SNAPFS $TESTPOOL/$TESTCLONE 65 $SNAPFS $TESTPOOL/$TESTCLONE 72 $SNAPFS $TESTPOOL/$TESTCLONE 74 $SNAPFS $TESTPOOL/$TESTCLONE
|
H A D | zfs_clone_009_neg.ksh | 63 $SNAPFS1 $TESTPOOL/$TESTCLONE 65 $SNAPFS1 $TESTPOOL/$TESTCLONE 72 $SNAPFS1 $TESTPOOL/$TESTCLONE 74 $SNAPFS1 $TESTPOOL/$TESTCLONE
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_clone/ |
H A D | zfs_clone_003_pos.ksh | 84 log_must $ZFS clone -o ${RW_FS_PROP[$i]} $SNAPFS $TESTPOOL/$TESTCLONE 85 datasetexists $TESTPOOL/$TESTCLONE || \ 86 log_fail "zfs clone $TESTPOOL/$TESTCLONE fail." 87 propertycheck $TESTPOOL/$TESTCLONE ${RW_FS_PROP[i]} || \ 89 log_must $ZFS destroy -f $TESTPOOL/$TESTCLONE
|
H A D | zfs_clone_005_pos.ksh | 83 log_must $ZFS clone -o ${RW_VOL_CLONE_PROP[$i]} $SNAPFS1 $TESTPOOL/$TESTCLONE 84 datasetexists $TESTPOOL/$TESTCLONE || \ 85 log_fail "zfs clone $TESTPOOL/$TESTCLONE fail." 86 propertycheck $TESTPOOL/$TESTCLONE ${RW_VOL_CLONE_PROP[i]} || \ 88 log_must $ZFS destroy -f $TESTPOOL/$TESTCLONE
|
H A D | zfs_clone_004_pos.ksh | 87 log_must $ZFS clone $opts $SNAPFS $TESTPOOL/$TESTCLONE 88 datasetexists $TESTPOOL/$TESTCLONE || \ 89 log_fail "zfs create $TESTPOOL/$TESTCLONE fail." 95 propertycheck $TESTPOOL/$TESTCLONE ${RW_FS_PROP[i]} || \
|
H A D | zfs_clone_008_neg.ksh | 77 $SNAPFS $TESTPOOL/$TESTCLONE 79 $SNAPFS $TESTPOOL/$TESTCLONE 86 $SNAPFS $TESTPOOL/$TESTCLONE 88 $SNAPFS $TESTPOOL/$TESTCLONE
|
H A D | zfs_clone_009_neg.ksh | 77 $SNAPFS1 $TESTPOOL/$TESTCLONE 79 $SNAPFS1 $TESTPOOL/$TESTCLONE 86 $SNAPFS1 $TESTPOOL/$TESTCLONE 88 $SNAPFS1 $TESTPOOL/$TESTCLONE
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_002_pos.ksh | 61 if mounted $TESTPOOL/$TESTCLONE; then 68 datasetexists "$TESTPOOL/$TESTCLONE" && \ 69 destroy_dataset $TESTPOOL/$TESTCLONE -f 118 "$TESTDIR2" "$TESTPOOL/$TESTCLONE" 125 log_must zfs clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE 126 log_must zfs set mountpoint=$TESTDIR2 $TESTPOOL/$TESTCLONE
|
H A D | zfs_unshare_001_pos.ksh | 58 if mounted $TESTPOOL/$TESTCLONE; then 65 datasetexists "$TESTPOOL/$TESTCLONE" && \ 66 destroy_dataset $TESTPOOL/$TESTCLONE -f 120 "$TESTDIR2" "$TESTPOOL/$TESTCLONE" 127 log_must zfs clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE 128 log_must zfs set mountpoint=$TESTDIR2 $TESTPOOL/$TESTCLONE
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
H A D | zfs_unshare_002_pos.ksh | 66 if mounted $TESTPOOL/$TESTCLONE; then 73 if datasetexists "$TESTPOOL/$TESTCLONE"; then 74 log_must $ZFS destroy -f $TESTPOOL/$TESTCLONE 125 "$TESTDIR2" "$TESTPOOL/$TESTCLONE" 132 log_must $ZFS clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE 133 log_must $ZFS set mountpoint=$TESTDIR2 $TESTPOOL/$TESTCLONE
|
H A D | zfs_unshare_001_pos.ksh | 67 if mounted $TESTPOOL/$TESTCLONE; then 74 if datasetexists "$TESTPOOL/$TESTCLONE"; then 75 log_must $ZFS destroy -f $TESTPOOL/$TESTCLONE 136 "$TESTDIR2" "$TESTPOOL/$TESTCLONE" 143 log_must $ZFS clone $TESTPOOL/$TESTFS2@snapshot $TESTPOOL/$TESTCLONE 144 log_must $ZFS set mountpoint=$TESTDIR2 $TESTPOOL/$TESTCLONE
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.list_clones.ksh | 54 assert(s == "$TESTPOOL/$TESTCLONE") 61 TESTCLONE1=${TESTCLONE}-1 62 TESTCLONE2=${TESTCLONE}-2 63 TESTCLONE3=${TESTCLONE}-3 71 a["$TESTPOOL/$TESTCLONE"] = false 82 assert(a["$TESTPOOL/$TESTCLONE"] and
|