| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_user/zfs_list/ |
| H A D | zfs_list_001_pos.ksh | 62 "list $TESTPOOL/$TESTFS" \ 63 "list -r $TESTPOOL/$TESTFS" "list -H $TESTPOOL/$TESTFS" \ 64 "list -rH $TESTPOOL/$TESTFS" "list -Hr $TESTPOOL/$TESTFS" \ 65 "list -o name $TESTPOOL/$TESTFS" "list -r -o name $TESTPOOL/$TESTFS" \ 66 "list -H -o name $TESTPOOL/$TESTFS" "list -rH -o name $TESTPOOL/$TESTFS" \ 71 "$TESTPOOL/$TESTFS" \ 72 "-r $TESTPOOL/$TESTFS" "-H $TESTPOOL/$TESTFS" \ 73 "-rH $TESTPOOL/$TESTFS" "-Hr $TESTPOOL/$TESTFS" \ 74 "-o name $TESTPOOL/$TESTFS" "-r -o name $TESTPOOL/$TESTFS" \ 75 "-H -o name $TESTPOOL/$TESTFS" "-rH -o name $TESTPOOL/$TESTFS" \ [all …]
|
| H A D | zfs_list_002_pos.ksh | 118 "run_unprivileged $ZFS list -H -r -o name -s creation -t volume $TESTPOOL/$TESTFS" \ 122 "run_unprivileged $ZFS list -H -r -o name -s creation -t snapshot $TESTPOOL/$TESTFS" \ 131 "run_unprivileged $ZFS list -H -r -o name -s checksum -t volume $TESTPOOL/$TESTFS" \ 143 "run_unprivileged $ZFS list -H -r -o name -s name -t filesystem $TESTPOOL/$TESTFS" \ 147 "run_unprivileged $ZFS list -H -r -o name -s name -t volume $TESTPOOL/$TESTFS" \ 151 "run_unprivileged $ZFS list -H -r -o name -s name -t snapshot $TESTPOOL/$TESTFS" \ 160 "run_unprivileged $ZFS list -H -r -o name -S creation -t volume $TESTPOOL/$TESTFS" \ 173 "run_unprivileged $ZFS list -H -r -o name -S checksum -t volume $TESTPOOL/$TESTFS" \ 179 "run_unprivileged $ZFS list -H -r -o name -S name -t filesystem $TESTPOOL/$TESTFS"\ 183 "run_unprivileged $ZFS list -H -r -o name -S name -t volume $TESTPOOL/$TESTFS"\ [all …]
|
| H A D | setup.ksh | 44 log_must $ZFS create $TESTPOOL/$TESTFS/$dataset 45 enc=$(get_prop encryption $TESTPOOL/$TESTFS/$dataset) 51 log_must $ZFS snapshot $TESTPOOL/$TESTFS/${dataset}@snap 55 log_must $ZFS create -V 64M $TESTPOOL/$TESTFS/${dataset}-vol 57 log_must $ZFS snapshot $TESTPOOL/$TESTFS/${dataset}-vol@snap 63 $TESTPOOL/$TESTFS/$dataset 64 if datasetexists $TESTPOOL/$TESTFS/${dataset}-vol; then 66 $TESTPOOL/$TESTFS/${dataset}-vol
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/ |
| H A D | zfs_destroy_006_neg.ksh | 63 "-? $TESTPOOL/$TESTFS" "$TESTPOOL/blah"\ 65 "-fr $TESTPOOL/blah" "-$ $TESTPOOL/$TESTFS" "-5 $TESTPOOL/$TESTFS" \ 66 "-rfgh $TESTPOOL/$TESTFS" "-rghf $TESTPOOL/$TESTFS" \ 67 "$TESTPOOL/$TESTFS@blah" "/$TESTPOOL/$TESTFS" "-f /$TESTPOOL/$TESTFS" \ 68 "-rf /$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS" \ 69 "-rRf $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS"
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
| H A D | zpool_import_012_pos.ksh | 90 ismounted "${pools[i]}/$TESTFS" || \ 91 log_must $ZFS mount ${pools[i]}/$TESTFS 99 if datasetexists $TESTPOOL/$TESTFS ; then 100 log_must $ZFS destroy -Rf $TESTPOOL/$TESTFS 102 log_must $ZFS create $TESTPOOL/$TESTFS 116 log_must $ZFS create $pool/$TESTFS/$TESTCTR 122 log_must $ZFS create $pool/$TESTFS/$TESTFS1 123 log_must $ZFS snapshot $pool/$TESTFS/$TESTFS1@snap 127 typeset mount_fs="$TESTFS $TESTFS/$TESTFS1 $TESTCLONE1 \ 128 $TESTFS/$TESTCTR/$TESTFS1 $TESTFS/$TESTCTR/$TESTCTR1/$TESTFS1" [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/ |
| H A D | zfs_rename_004_neg.ksh | 71 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \ 73 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS@snapshot \ 81 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \ 84 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR1 \ 85 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \ 86 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS1 \ 93 $TESTPOOL/$TESTFS@snapshot \ 94 $TESTPOOL/$TESTFS@snapshot/fs 119 $TESTPOOL/$TESTFS@snapshot2 120 log_must datasetexists $TESTPOOL/$TESTFS@snapshot [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_user/misc/ |
| H A D | setup.ksh | 54 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snap 55 log_must $ZFS clone $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS/clone 61 log_must $ZFS create $TESTPOOL/$TESTFS/$TESTFS2 62 log_must $ZFS set snapdir=hidden $TESTPOOL/$TESTFS 66 log_must $ZFS create $TESTPOOL/$TESTFS/$TESTFS2.unmounted 67 log_must $ZFS unmount $TESTPOOL/$TESTFS/$TESTFS2.unmounted 80 log_must $ZFS create -o version=1 $TESTPOOL/$TESTFS/prop 95 log_must $ZFS create $TESTPOOL/$TESTFS/renameme 101 log_must $ZFS create $TESTPOOL/$TESTFS/unshared 105 log_must $ZFS create $TESTPOOL/$TESTFS/shared [all …]
|
| H A D | zfs_destroy_001_neg.ksh | 61 set -A args "destroy" "destroy $TESTPOOL/$TESTFS" \ 62 "destroy -f" "destroy -f $TESTPOOL/$TESTFS" \ 63 "destroy -r" "destroy -r $TESTPOOL/$TESTFS" \ 64 "destroy -rf $TESTPOOL/$TESTFS" \ 65 "destroy -fr $TESTPOOL/$TESTFS" \ 66 "destroy $TESTPOOL/$TESTFS@$TESTSNAP" \ 67 "destroy -f $TESTPOOL/$TESTFS@$TESTSNAP" \ 68 "destroy -r $TESTPOOL/$TESTFS@$TESTSNAP" \ 69 "destroy -rf $TESTPOOL/$TESTFS@$TESTSNAP" \ 70 "destroy -fr $TESTPOOL/$TESTFS@$TESTSNAP"
|
| H A D | zfs_unmount_001_neg.ksh | 61 "umount $TESTPOOL/$TESTFS" "umount -f $TESTPOOL/$TESTFS" \ 62 "unmount $TESTPOOL/$TESTFS" "unmount -f $TESTPOOL/$TESTFS" \ 63 "umount $TESTPOOL/$TESTFS@$TESTSNAP" \ 64 "umount -f $TESTPOOL/$TESTFS@$TESTSNAP" \ 65 "unmount $TESTPOOL/$TESTFS@$TESTSNAP" \ 66 "unmount -f $TESTPOOL/$TESTFS@$TESTSNAP" \
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_share/ |
| H A D | zfs_share_009_pos.ksh | 66 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 67 unshare_fs $TESTPOOL/$TESTFS 69 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then 70 log_must $ZFS destroy -f $TESTPOOL/$TESTFS@snapshot 73 if datasetexists $TESTPOOL/$TESTFS/fs2 ; then 74 log_must $ZFS destroy -f $TESTPOOL/$TESTFS/fs2 85 log_must $ZFS set sharenfs=on $TESTPOOL/$TESTFS 88 log_mustnot $ZFS umount $TESTPOOL/$TESTFS 95 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot 104 log_must $ZFS create $TESTPOOL/$TESTFS/fs2 [all …]
|
| H A D | zfs_share_001_pos.ksh | 64 "$TESTDIR" "$TESTPOOL/$TESTFS" \ 66 "$TESTDIR2" "$TESTPOOL/$TESTFS-clone" 78 if mounted $TESTPOOL/$TESTFS-clone; then 82 datasetexists $TESTPOOL/$TESTFS-clone && \ 83 log_must $ZFS destroy -f $TESTPOOL/$TESTFS-clone 85 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then 86 log_must $ZFS destroy -f $TESTPOOL/$TESTFS@snapshot 127 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot 128 log_must $ZFS clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone 129 log_must $ZFS set mountpoint=$TESTDIR2 $TESTPOOL/$TESTFS-clone
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
| H A D | zfs_unshare_004_neg.ksh | 61 "-a blah" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS1" \ 62 "-f $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS1" \ 63 "$TESTPOOL/$TESTFS $TESTDIR" "-f $TESTPOOL/$TESTFS $TESTDIR" \ 68 shareval=$(get_prop sharenfs $TESTPOOL/$TESTFS) 70 log_must $ZFS set sharenfs=on $TESTPOOL/$TESTFS 81 mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 82 log_must $ZFS unshare $TESTPOOL/$TESTFS 84 log_mustnot eval "$ZFS unshare $opt $TESTPOOL/$TESTFS >/dev/null 2>&1" 89 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS 91 log_mustnot eval "$ZFS unshare $opt $TESTPOOL/$TESTFS >/dev/null 2>&1"
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount_004_pos.ksh | 67 log_must force_unmount $TESTPOOL/$TESTFS 78 unmounted $TESTPOOL/$TESTFS || \ 81 log_must $ZFS $mountcmd $TESTPOOL/$TESTFS 83 mounted $TESTPOOL/$TESTFS || \ 84 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted" 86 $ZFS $mountcmd $TESTPOOL/$TESTFS 89 log_fail "'$ZFS $mountcmd $TESTPOOL/$TESTFS' " \ 92 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted" 93 mounted $TESTPOOL/$TESTFS || \ 94 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted
|
| H A D | zfs_mount_003_pos.ksh | 67 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 68 log_must force_unmount $TESTPOOL/$TESTFS 84 unmounted $TESTPOOL/$TESTFS || \ 87 log_must $ZFS set mountpoint=${mopt[i]} $TESTPOOL/$TESTFS 89 $ZFS $mountcmd $TESTPOOL/$TESTFS 92 log_fail "'$ZFS $mountcmd $TESTPOOL/$TESTFS' " \ 95 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted" 96 unmounted $TESTPOOL/$TESTFS || \ 97 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
|
| H A D | zfs_mount_005_pos.ksh | 68 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 69 log_must force_unmount $TESTPOOL/$TESTFS 80 unmounted $TESTPOOL/$TESTFS || \ 89 $ZFS $mountcmd $TESTPOOL/$TESTFS 92 log_fail "'$ZFS $mountcmd $TESTPOOL/$TESTFS' " \ 95 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted" 96 unmounted $TESTPOOL/$TESTFS || \ 97 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
|
| H A D | zfs_mount_006_pos.ksh | 68 log_must force_unmount $TESTPOOL/$TESTFS 75 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 76 log_must force_unmount $TESTPOOL/$TESTFS 89 unmounted $TESTPOOL/$TESTFS || \ 90 log_must force_unmount $TESTPOOL/$TESTFS 104 log_must $ZFS set mountpoint=$mtpt $TESTPOOL/$TESTFS 105 log_must $ZFS $mountcmd $TESTPOOL/$TESTFS 107 mounted $TESTPOOL/$TESTFS || \ 108 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted"
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/snapshot/ |
| H A D | snapshot_016_pos.ksh | 64 datasetexists $TESTPOOL/$TESTFS@snap_a && \ 65 log_must $ZFS destroy -Rf $TESTPOOL/$TESTFS@snap_a 71 datasetexists $TESTPOOL/$TESTFS && \ 72 log_must $ZFS destroy $TESTPOOL/$TESTFS 74 log_must $ZFS create $TESTPOOL/$TESTFS 89 datasetexists $TESTPOOL/$TESTFS@snap_a || \ 91 log_must $ZFS destroy $TESTPOOL/$TESTFS@snap_a 99 datasetexists $TESTPOOL/$TESTFS@snap_a || \ 103 log_must $ZFS promote $TESTPOOL/$TESTFS 105 log_must $ZFS destroy $TESTPOOL/$TESTFS@snap_a [all …]
|
| H A D | snapshot_020_pos.ksh | 65 datasetexists $TESTPOOL/$TESTFS@snap_a && \ 66 log_must $ZFS destroy -Rf $TESTPOOL/$TESTFS@snap_a 72 datasetexists $TESTPOOL/$TESTFS && \ 73 log_must $ZFS destroy $TESTPOOL/$TESTFS 75 log_must $ZFS create $TESTPOOL/$TESTFS 76 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 82 log_must $ZFS set snapdir=visible $TESTPOOL/$TESTFS 85 log_must $ZFS rename $SNAPFS $TESTPOOL/$TESTFS@$TESTSNAP1 87 log_must $ZFS destroy $TESTPOOL/$TESTFS@$TESTSNAP1
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/iscsi/ |
| H A D | iscsi_002_neg.ksh | 60 if [[ "off" != $(get_prop shareiscsi $TESTPOOL/$TESTFS) ]]; then 61 log_must $ZFS set shareiscsi=off $TESTPOOL/$TESTFS 63 datasetexists $TESTPOOL/$TESTFS@snap && \ 64 log_must $ZFS destroy -f $TESTPOOL/$TESTFS@snap 71 if [[ "off" != $(get_prop shareiscsi $TESTPOOL/$TESTFS) ]]; then 76 log_must $ZFS set shareiscsi=on $TESTPOOL/$TESTFS 77 if is_iscsi_target $TESTPOOL/$TESTFS ; then 82 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snap 83 if is_iscsi_target $TESTPOOL/$TESTFS@snap ; then
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zpool_offline/ |
| H A D | zpool_offline_002_neg.ksh | 62 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \ 68 "-f $TESTPOOL" "-f $TESTPOOL/$TESTFS" "-f $TESTPOOL/$TESTFS $DISKLIST" \ 74 "-ft $TESTPOOL" "-ft $TESTPOOL/$TESTFS" \ 75 "-ft $TESTPOOL/$TESTFS $DISKLIST" \ 81 "-tf $TESTPOOL" "-tf $TESTPOOL/$TESTFS" \ 82 "-tf $TESTPOOL/$TESTFS $DISKLIST" \ 88 "$TESTPOOL" "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $DISKLIST" \
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
| H A D | canmount_001_pos.ksh | 64 "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTCTR" "$TESTPOOL/$TESTCLONE" 68 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \ 72 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP" 80 if snapexists $TESTPOOL/$TESTFS@$TESTSNAP ; then 81 log_must $ZFS destroy -R $TESTPOOL/$TESTFS@$TESTSNAP 90 log_must $ZFS set canmount=$old_fs_canmount $TESTPOOL/$TESTFS 101 old_fs_canmount=$(get_prop canmount $TESTPOOL/$TESTFS) 103 log_fail "Get the $TESTPOOL/$TESTFS canmount error." 108 log_must $ZFS snapshot $TESTPOOL/$TESTFS@$TESTSNAP 110 log_must $ZFS clone $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTCLONE
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/ |
| H A D | zfs_unmount_009_pos.ksh | 70 for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do 81 if ! datasetexists $TESTPOOL/$TESTFS; then 82 log_must $ZFS create $TESTPOOL/$TESTFS 83 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 89 if ! datasetexists $TESTPOOL/$TESTFS ; then 90 log_must $ZFS create $TESTPOOL/$TESTFS 91 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 94 log_must $ZFS snapshot $TESTPOOL/$TESTFS@$TESTSNAP 103 for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/refreserv/ |
| H A D | refreserv_002_pos.ksh | 70 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS 71 log_must $ZFS create $TESTPOOL/$TESTFS 72 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 102 log_must $ZFS create $TESTPOOL/$TESTFS/subfs 106 datasets="$TESTPOOL $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS/subfs" 108 datasets="$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS/subfs"
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/ |
| H A D | zfs_rollback_003_neg.ksh | 80 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP 81 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP1 85 log_mustnot $ZFS rollback $TESTPOOL/$TESTFS@$TESTSNAP 86 log_mustnot $ZFS rollback -f $TESTPOOL/$TESTFS@$TESTSNAP 90 create_clone $TESTPOOL/$TESTFS@$TESTSNAP1 $TESTPOOL/$TESTCLONE1 94 log_mustnot $ZFS rollback -r $TESTPOOL/$TESTFS@$TESTSNAP 95 log_mustnot $ZFS rollback -rf $TESTPOOL/$TESTFS@$TESTSNAP
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/ |
| H A D | zfs_snapshot_001_neg.ksh | 72 "$TESTPOOL/$TESTFS@blah*" "$TESTPOOL/$TESTFS@blah?" \ 74 "/$TESTPOOL/$TESTFS@$TESTSNAP" "/$TESTPOOL/$TESTVOL@$TESTSNAP" \ 75 "@$TESTSNAP" "$TESTPOOL/$TESTFS@" "$TESTPOOL/$TESTVOL@" \ 76 "$TESTPOOL//$TESTFS@$TESTSNAP" "$TESTPOOL//$TESTVOL@$TESTSNAP" \ 77 "$TESTPOOL/$TESTFS/$TESTSNAP" "$TESTPOOL/$TESTVOL/$TESTSNAP" \ 78 "$TESTPOOL/$TESTFS@$TESTSNAP@$TESTSNAP1" \
|