/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_016_pos.ksh | 34 datasetexists $TESTPOOL/$TESTVOL && \ 35 destroy_dataset $TESTPOOL/$TESTVOL -Rf 43 datasetexists $TESTPOOL/$TESTVOL@snap$i && \ 44 destroy_dataset $TESTPOOL/$TESTVOL@snap$i 46 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap$i 58 snapexists $TESTPOOL/$TESTVOL@snap$i || \ 60 "$TESTPOOL/$TESTVOL@snap$i" 67 snapexists $TESTPOOL/$TESTVOL@snap$i && \ 69 "$TESTPOOL/$TESTVOL@snap$i" 82 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTVOL [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_cli/ |
H A D | zvol_cli_001_pos.ksh | 46 TESTVOL='testvol' 49 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \ 50 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \ 51 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \ 52 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \ 53 "list -rH -o name $TESTPOOL/$TESTVOL"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_002_pos.ksh | 47 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 51 snapexists $TESTPOOL/$TESTVOL@snap && 52 destroy_dataset $TESTPOOL/$TESTVOL@snap 57 zfs set volsize=$volsize $TESTPOOL/$TESTVOL 63 TESTVOL='testvol' 67 log_must zfs set volsize=128m $TESTPOOL/$TESTVOL 69 log_must new_fs ${ZVOL_RDEVDIR}/$TESTPOOL/$TESTVOL 71 log_must mount ${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL $TESTDIR 87 log_must zfs set snapdev=visible $TESTPOOL/$TESTVOL 88 log_must zfs snapshot $TESTPOOL/$TESTVOL@snap [all …]
|
H A D | zvol_misc_004_pos.ksh | 52 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 65 datasetexists $TESTPOOL/$TESTVOL@$snap && \ 66 destroy_dataset $TESTPOOL/$TESTVOL@$snap 68 zfs set volsize=$volsize $TESTPOOL/$TESTVOL 91 voldev=${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL 96 log_must is_zvol_dumpified $TESTPOOL/$TESTVOL 98 verify_snapshot $TESTPOOL/$TESTVOL 101 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL 106 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL 108 verify_snapshot $TESTPOOL/$TESTVOL [all …]
|
H A D | zvol_misc_006_pos.ksh | 52 volsize=$(zfs get -H -o value volsize $TESTPOOL/$TESTVOL) 60 zfs set volsize=$volsize $TESTPOOL/$TESTVOL 66 voldev=${ZVOL_DEVDIR}/$TESTPOOL/$TESTVOL 69 typeset oblksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL) 70 log_note "original $TESTPOOL/$TESTVOL volblocksize=$oblksize" 74 typeset blksize=$(zfs get -H -o value volblocksize $TESTPOOL/$TESTVOL) 77 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
|
/freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_cli/ |
H A D | zvol_cli_001_pos.ksh | 56 "list $TESTPOOL/$TESTVOL" "list -r $TESTPOOL/$TESTVOL" \ 57 "list -H $TESTPOOL/$TESTVOL" "list -Hr $TESTPOOL/$TESTVOL" \ 58 "list -rH $TESTPOOL/$TESTVOL" "list -o name $TESTPOOL/$TESTVOL" \ 59 "list -r -o name $TESTPOOL/$TESTVOL" "list -H -o name $TESTPOOL/$TESTVOL" \ 60 "list -rH -o name $TESTPOOL/$TESTVOL"
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/ |
H A D | zpool_offline_002_neg.ksh | 59 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \ 61 "-t $TESTPOOL/$TESTVOL $DISKLIST" \ 65 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \ 67 "-f $TESTPOOL/$TESTVOL $DISKLIST" \ 72 "-ft $TESTPOOL/$TESTCTR $DISKLIST" "-ft $TESTPOOL/$TESTVOL" \ 74 "-ft $TESTPOOL/$TESTVOL $DISKLIST" \ 79 "-tf $TESTPOOL/$TESTCTR $DISKLIST" "-tf $TESTPOOL/$TESTVOL" \ 81 "-tf $TESTPOOL/$TESTVOL $DISKLIST" \ 85 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \ 86 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_002_neg.ksh | 51 "-t $TESTPOOL/$TESTCTR $DISKLIST" "-t $TESTPOOL/$TESTVOL" \ 53 "-t $TESTPOOL/$TESTVOL $DISKLIST" \ 57 "-f $TESTPOOL/$TESTCTR $DISKLIST" "-f $TESTPOOL/$TESTVOL" \ 59 "-f $TESTPOOL/$TESTVOL $DISKLIST" \ 64 "-ft $TESTPOOL/$TESTCTR $DISKLIST" "-ft $TESTPOOL/$TESTVOL" \ 66 "-ft $TESTPOOL/$TESTVOL $DISKLIST" \ 71 "-tf $TESTPOOL/$TESTCTR $DISKLIST" "-tf $TESTPOOL/$TESTVOL" \ 73 "-tf $TESTPOOL/$TESTVOL $DISKLIST" \ 77 "$TESTPOOL/$TESTCTR $DISKLIST" "$TESTPOOL/$TESTVOL" \ 78 "$TESTPOOL/$TESTCTR/$TESTFS1 $DISKLIST" "$TESTPOOL/$TESTVOL $DISKLIST" \
|
/freebsd/tests/sys/cddl/zfs/tests/iscsi/ |
H A D | iscsi_005_pos.ksh | 58 datasetexists $TESTPOOL/$TESTVOL && \ 59 log_must $ZFS destroy $TESTPOOL/$TESTVOL 66 log_must $ZFS create -V $VOLSIZE -o shareiscsi=on $TESTPOOL/$TESTVOL 69 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then 73 iname=$(iscsi_name $TESTPOOL/$TESTVOL) 76 if is_iscsi_target $TESTPOOL/$TESTVOL ; then 82 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then 85 if [[ $iname != $(iscsi_name $TESTPOOL/$TESTVOL) ]]; then
|
H A D | iscsi_006_neg.ksh | 55 datasetexists $TESTPOOL/$TESTVOL && \ 56 log_must $ZFS destroy -f $TESTPOOL/$TESTVOL 63 log_must $ZFS create -V $VOLSIZE -o shareiscsi=on $TESTPOOL/$TESTVOL 66 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then 71 $ZFS get all $TESTPOOL/$TESTVOL | $GREP iscsioptions 75 ioptions=$(get_prop iscsioptions $TESTPOOL/$TESTVOL) 77 $ZFS set iscsioptions="abc" $TESTPOOL/$TESTVOL 79 if [[ $ioptions != $(get_prop iscsioptions $TESTPOOL/$TESTVOL) ]]; then
|
H A D | iscsi_004_pos.ksh | 58 datasetexists $TESTPOOL/$TESTVOL && \ 59 log_must $ZFS destroy $TESTPOOL/$TESTVOL 68 log_must $ZFS create -V $VOLSIZE -o shareiscsi=on $TESTPOOL/$TESTVOL 71 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then 75 iname=$(iscsi_name $TESTPOOL/$TESTVOL) 77 log_must $ZFS rename $TESTPOOL/$TESTVOL $TESTPOOL/$TESTVOL1
|
H A D | iscsi_001_pos.ksh | 60 datasetexists $TESTPOOL/$TESTVOL && \ 61 log_must $ZFS destroy $TESTPOOL/$TESTVOL 77 log_must $ZFS create -V $VOLSIZE $TESTPOOL/$TESTVOL 78 log_must $ZFS set shareiscsi=on $TESTPOOL/$TESTVOL 79 if ! is_iscsi_target $TESTPOOL/$TESTVOL ; then
|
/freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_misc/ |
H A D | zvol_misc_004_pos.ksh | 70 if datasetexists $TESTPOOL/$TESTVOL@$snap ; then 71 log_must $ZFS destroy $TESTPOOL/$TESTVOL@$snap 102 voldev=/dev/zvol/$TESTPOOL/$TESTVOL 107 log_must is_zvol_dumpified $TESTPOOL/$TESTVOL 109 verify_snapshot $TESTPOOL/$TESTVOL 112 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL 117 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL 119 verify_snapshot $TESTPOOL/$TESTVOL 122 log_mustnot is_zvol_dumpified $TESTPOOL/$TESTVOL
|
H A D | zvol_misc_002_pos.ksh | 57 snapexists $TESTPOOL/$TESTVOL@snap && \ 58 $ZFS destroy $TESTPOOL/$TESTVOL@snap 67 $NEWFS /dev/zvol/$TESTPOOL/$TESTVOL >/dev/null 2>&1 68 (( $? != 0 )) && log_fail "Unable to newfs(1M) $TESTPOOL/$TESTVOL" 71 log_must $MOUNT /dev/zvol/$TESTPOOL/$TESTVOL $TESTDIR 81 log_must $ZFS snapshot $TESTPOOL/$TESTVOL@snap 82 log_must $FSCK -t ufs -n /dev/zvol/$TESTPOOL/$TESTVOL@snap >/dev/null 2>&1
|
H A D | zvol_misc_006_pos.ksh | 73 voldev=/dev/zvol/$TESTPOOL/$TESTVOL 76 typeset oblksize=$($ZFS get -H -o value volblocksize $TESTPOOL/$TESTVOL) 77 log_note "original $TESTPOOL/$TESTVOL volblocksize=$oblksize" 81 typeset blksize=$($ZFS get -H -o value volblocksize $TESTPOOL/$TESTVOL) 84 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_001_neg.ksh | 68 "$TESTPOOL/$TESTVOL@blah*" "$TESTPOOL/$TESTVOL@blah?" \ 69 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \ 70 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \ 71 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \ 72 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \ 74 "$TESTPOOL/$TESTVOL@$TESTSNAP@$TESTSNAP1" \
|
H A D | zfs_snapshot_002_neg.ksh | 62 $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP; 68 datasetexists $TESTPOOL/$TESTCTR/$TESTVOL && \ 69 log_must $ZFS destroy -rf $TESTPOOL/$TESTCTR/$TESTVOL 98 log_must $ZFS create -V $VOLSIZE $TESTPOOL/$TESTCTR/$TESTVOL 100 log_must $ZFS create $TESTPOOL/$TESTCTR/$TESTVOL 102 log_must $ZFS snapshot $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
H A D | zfs_snapshot_001_neg.ksh | 61 "$TESTPOOL/$TESTVOL@blah*" "$TESTPOOL/$TESTVOL@blah?" \ 62 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \ 63 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \ 64 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \ 65 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \ 67 "$TESTPOOL/$TESTVOL@$TESTSNAP@$TESTSNAP1" \
|
H A D | zfs_snapshot_002_neg.ksh | 54 $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP; 59 datasetexists $TESTPOOL/$TESTCTR/$TESTVOL && \ 60 destroy_dataset $TESTPOOL/$TESTCTR/$TESTVOL -rf 89 log_must zfs create -V $VOLSIZE $TESTPOOL/$TESTCTR/$TESTVOL 91 log_must zfs create $TESTPOOL/$TESTCTR/$TESTVOL 93 log_must zfs snapshot $TESTPOOL/$TESTCTR/$TESTVOL@$TESTSNAP
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/ |
H A D | zfs_rename_004_neg.ksh | 64 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \ 67 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \ 71 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \ 75 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR1 \ 76 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \ 77 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \ 78 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR/$TESTFS1 \ 80 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_004_neg.ksh | 56 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTVOL \ 59 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTVOL \ 63 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTVOL \ 67 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR1 \ 68 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \ 69 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS1 \ 70 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTCTR/$TESTFS1 \ 72 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | canmount_001_pos.ksh | 63 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \ 64 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1" 67 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP" 78 if snapexists $TESTPOOL/$TESTVOL@$TESTSNAP ; then 79 log_must $ZFS destroy -R $TESTPOOL/$TESTVOL@$TESTSNAP 104 log_must $ZFS snapshot $TESTPOOL/$TESTVOL@$TESTSNAP 106 log_must $ZFS clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_001_pos.ksh | 54 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \ 55 "$TESTPOOL/$TESTVOL@$TESTSNAP" "$TESTPOOL/$TESTCLONE1" 58 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP" 69 snapexists $TESTPOOL/$TESTVOL@$TESTSNAP && \ 70 destroy_dataset $TESTPOOL/$TESTVOL@$TESTSNAP -R 88 log_must zfs snapshot $TESTPOOL/$TESTVOL@$TESTSNAP 90 log_must zfs clone $TESTPOOL/$TESTVOL@$TESTSNAP $TESTPOOL/$TESTCLONE1
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_add/ |
H A D | zpool_add_004_pos.ksh | 63 datasetexists $TESTPOOL1/$TESTVOL && \ 64 log_must $ZFS destroy -f $TESTPOOL1/$TESTVOL 78 log_must $ZFS create -V $VOLSIZE $TESTPOOL1/$TESTVOL 80 log_must $ZPOOL add "$TESTPOOL" /dev/zvol/$TESTPOOL1/$TESTVOL 82 log_must iscontained "$TESTPOOL" "/dev/zvol/$TESTPOOL1/$TESTVOL"
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/ |
H A D | reservation_016_pos.ksh | 58 datasetexists $TESTPOOL/$TESTVOL && \ 59 destroy_dataset $TESTPOOL/$TESTVOL 78 log_must zfs create -V $vol_set_size $TESTPOOL/$TESTVOL 79 block_device_wait $TESTPOOL/$TESTVOL 93 log_must zfs destroy -f $TESTPOOL/$TESTVOL
|