/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/ |
H A D | slog_replay_fs_001.ksh | 74 log_must zfs create $TESTPOOL/$TESTFS 81 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \ 94 log_must touch /$TESTPOOL/$TESTFS/a 97 log_must mv /$TESTPOOL/$TESTFS/a /$TESTPOOL/$TESTFS/b 100 log_must touch /$TESTPOOL/$TESTFS/c 101 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d 104 log_must touch /$TESTPOOL/$TESTFS/e 105 log_must ln /$TESTPOOL/$TESTFS/e /$TESTPOOL/$TESTFS/f 108 log_must mkdir /$TESTPOOL/$TESTFS/dir_to_delete 111 log_must rmdir /$TESTPOOL/$TESTFS/dir_to_delete [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/ |
H A D | tst.list_snapshots.ksh | 30 datasetexists $TESTPOOL/$TESTFS@$TESTSNAP && \ 31 log_must zfs destroy $TESTPOOL/$TESTFS@$TESTSNAP 32 datasetexists $TESTPOOL/$TESTFS@$TESTSNAP1 && \ 33 log_must zfs destroy $TESTPOOL/$TESTFS@$TESTSNAP1 34 datasetexists $TESTPOOL/$TESTFS@$TESTSNAP2 && \ 35 log_must zfs destroy $TESTPOOL/$TESTFS@$TESTSNAP2 36 datasetexists $TESTPOOL/$TESTFS@$TESTSNAP3 && \ 37 log_must zfs destroy $TESTPOOL/$TESTFS@$TESTSNAP3 45 for s in zfs.list.snapshots("$TESTPOOL/$TESTFS") do 54 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP [all …]
|
H A D | tst.list_clones.ksh | 30 datasetexists $TESTPOOL/$TESTFS@$TESTSNAP && \ 31 log_must zfs destroy -R $TESTPOOL/$TESTFS@$TESTSNAP 42 for s in zfs.list.clones("$TESTPOOL/$TESTFS@$TESTSNAP") do 54 for s in zfs.list.clones("$TESTPOOL/$TESTFS@$TESTSNAP") do 65 create_clone $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTCLONE1 66 create_clone $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTCLONE2 67 create_clone $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTCLONE3 77 for s in zfs.list.clones("$TESTPOOL/$TESTFS@$TESTSNAP") do 97 zfs.list.clones("$TESTPOOL/$TESTFS@not-a-snap") 108 zfs.list.clones("not-a-pool/$TESTFS@$TESTSNAP") [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/ |
H A D | zfs_list_001_pos.ksh | 48 "list $TESTPOOL/$TESTFS" \ 49 "list -r $TESTPOOL/$TESTFS" "list -H $TESTPOOL/$TESTFS" \ 50 "list -rH $TESTPOOL/$TESTFS" "list -Hr $TESTPOOL/$TESTFS" \ 51 "list -o name $TESTPOOL/$TESTFS" "list -r -o name $TESTPOOL/$TESTFS" \ 52 "list -H -o name $TESTPOOL/$TESTFS" "list -rH -o name $TESTPOOL/$TESTFS" \ 53 "list -Hr -o name $TESTPOOL/$TESTFS" 56 "$TESTPOOL/$TESTFS" \ 57 "-r $TESTPOOL/$TESTFS" "-H $TESTPOOL/$TESTFS" \ 58 "-rH $TESTPOOL/$TESTFS" "-Hr $TESTPOOL/$TESTFS" \ 59 "-o name $TESTPOOL/$TESTFS" "-r -o name $TESTPOOL/$TESTFS" \ [all …]
|
H A D | zfs_list_002_pos.ksh | 100 "zfs list -H -r -o name -s creation -t filesystem $TESTPOOL/$TESTFS" \ 104 "zfs list -H -r -o name -s creation -t volume $TESTPOOL/$TESTFS" \ 108 "zfs list -H -r -o name -s creation -t snapshot $TESTPOOL/$TESTFS" \ 113 "zfs list -H -r -o name -s checksum -t filesystem $TESTPOOL/$TESTFS" \ 117 "zfs list -H -r -o name -s checksum -t volume $TESTPOOL/$TESTFS" \ 121 "zfs list -H -r -o name -s checksum -t snapshot $TESTPOOL/$TESTFS" \ 124 "zfs list -H -r -o name -S checksum -t snapshot $TESTPOOL/$TESTFS" \ 129 "zfs list -H -r -o name -s name -t filesystem $TESTPOOL/$TESTFS" \ 133 "zfs list -H -r -o name -s name -t volume $TESTPOOL/$TESTFS" \ 137 "zfs list -H -r -o name -s name -t snapshot $TESTPOOL/$TESTFS" \ [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/no_space/ |
H A D | enospc_002_pos.ksh | 40 log_must zfs set compression=off $TESTPOOL/$TESTFS 41 log_must zfs snapshot $TESTPOOL/$TESTFS@snap 62 log_mustnot_expect space zfs create $TESTPOOL/$TESTFS/subfs 63 log_mustnot_expect space zfs clone $TESTPOOL/$TESTFS@snap $TESTPOOL/clone 65 log_must zfs send $TESTPOOL/$TESTFS@snap > $TEST_BASE_DIR/stream.$$ 66 log_mustnot_expect space zfs receive $TESTPOOL/$TESTFS/recvd < $TEST_BASE_DIR/stream.$$ 69 log_must zfs rename $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS@snap_newname 70 log_must zfs rename $TESTPOOL/$TESTFS@snap_newname $TESTPOOL/$TESTFS@snap 71 log_must zfs rename $TESTPOOL/$TESTFS $TESTPOOL/${TESTFS}_newname 72 log_must zfs rename $TESTPOOL/${TESTFS}_newname $TESTPOOL/$TESTFS [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_006_neg.ksh | 51 "-? $TESTPOOL/$TESTFS" "$TESTPOOL/blah"\ 53 "-fr $TESTPOOL/blah" "-$ $TESTPOOL/$TESTFS" "-5 $TESTPOOL/$TESTFS" \ 54 "-rfgh $TESTPOOL/$TESTFS" "-rghf $TESTPOOL/$TESTFS" \ 55 "$TESTPOOL/$TESTFS@blah" "/$TESTPOOL/$TESTFS" "-f /$TESTPOOL/$TESTFS" \ 56 "-rf /$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS" \ 57 "-rRf $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_012_pos.ksh | 78 ismounted "${pools[i]}/$TESTFS" || \ 79 log_must zfs mount ${pools[i]}/$TESTFS 87 if datasetexists $TESTPOOL/$TESTFS; then 88 log_must zfs destroy -Rf $TESTPOOL/$TESTFS 90 log_must zfs create $TESTPOOL/$TESTFS 91 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 102 setup_filesystem "$DEVICE_FILES" $TESTPOOL1 $TESTFS $TESTDIR1 105 log_must zfs create $pool/$TESTFS/$TESTCTR 106 log_must zfs create $pool/$TESTFS/$TESTCTR/$TESTCTR1 107 log_must zfs set canmount=off $pool/$TESTFS/$TESTCTR [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_004_neg.ksh | 58 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \ 60 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS@snapshot \ 64 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \ 68 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \ 71 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR1 \ 72 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \ 73 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS1 \ 74 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR/$TESTFS1 \ 80 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS@snapshot/fs \ 105 log_mustnot zfs rename -p $TESTPOOL/$TESTFS@snapshot \ [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | setup.ksh | 55 log_must zfs snapshot $TESTPOOL/$TESTFS@snap 56 log_must zfs clone $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS/clone 62 log_must zfs create $TESTPOOL/$TESTFS/$TESTFS2 63 log_must zfs set snapdir=hidden $TESTPOOL/$TESTFS 67 log_must zfs create $TESTPOOL/$TESTFS/$TESTFS2.unmounted 68 log_must zfs unmount $TESTPOOL/$TESTFS/$TESTFS2.unmounted 72 zfs send $TESTPOOL/$TESTFS@snap > /tmp/zfstest_datastream.dat 81 log_must zfs create -o version=1 $TESTPOOL/$TESTFS/prop 90 log_must zfs set $prop_name=$prop_val $TESTPOOL/$TESTFS/prop 95 log_must zfs create $TESTPOOL/$TESTFS/renameme [all …]
|
H A D | zfs_destroy_001_neg.ksh | 48 set -A args "destroy" "destroy $TESTPOOL/$TESTFS" \ 49 "destroy -f" "destroy -f $TESTPOOL/$TESTFS" \ 50 "destroy -r" "destroy -r $TESTPOOL/$TESTFS" \ 51 "destroy -rf $TESTPOOL/$TESTFS" \ 52 "destroy -fr $TESTPOOL/$TESTFS" \ 53 "destroy $TESTPOOL/$TESTFS@$TESTSNAP" \ 54 "destroy -f $TESTPOOL/$TESTFS@$TESTSNAP" \ 55 "destroy -r $TESTPOOL/$TESTFS@$TESTSNAP" \ 56 "destroy -rf $TESTPOOL/$TESTFS@$TESTSNAP" \ 57 "destroy -fr $TESTPOOL/$TESTFS@$TESTSNAP"
|
H A D | zfs_unmount_001_neg.ksh | 48 "umount $TESTPOOL/$TESTFS" "umount -f $TESTPOOL/$TESTFS" \ 49 "unmount $TESTPOOL/$TESTFS" "unmount -f $TESTPOOL/$TESTFS" \ 50 "umount $TESTPOOL/$TESTFS@$TESTSNAP" \ 51 "umount -f $TESTPOOL/$TESTFS@$TESTSNAP" \ 52 "unmount $TESTPOOL/$TESTFS@$TESTSNAP" \ 53 "unmount -f $TESTPOOL/$TESTFS@$TESTSNAP" \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_004_neg.ksh | 50 "-a blah" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS1" \ 51 "-f $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS1" \ 52 "$TESTPOOL/$TESTFS $TESTDIR" "-f $TESTPOOL/$TESTFS $TESTDIR" \ 57 shareval=$(get_prop sharenfs $TESTPOOL/$TESTFS) 59 log_must zfs set sharenfs=on $TESTPOOL/$TESTFS 70 mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 71 log_must zfs unshare $TESTPOOL/$TESTFS 73 log_mustnot eval "zfs unshare $opt $TESTPOOL/$TESTFS >/dev/null 2>&1" 78 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 80 log_mustnot eval "zfs unshare $opt $TESTPOOL/$TESTFS >/dev/null 2>&1"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_004_pos.ksh | 53 log_must force_unmount $TESTPOOL/$TESTFS 64 unmounted $TESTPOOL/$TESTFS || \ 67 log_must zfs $mountcmd $TESTPOOL/$TESTFS 69 mounted $TESTPOOL/$TESTFS || \ 70 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted" 72 zfs $mountcmd $TESTPOOL/$TESTFS 75 log_fail "'zfs $mountcmd $TESTPOOL/$TESTFS' " \ 78 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted" 79 mounted $TESTPOOL/$TESTFS || \ 80 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted
|
H A D | zfs_mount_003_pos.ksh | 53 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 54 log_must force_unmount $TESTPOOL/$TESTFS 70 unmounted $TESTPOOL/$TESTFS || \ 73 log_must zfs set mountpoint=${mopt[i]} $TESTPOOL/$TESTFS 75 zfs $mountcmd $TESTPOOL/$TESTFS 78 log_fail "'zfs $mountcmd $TESTPOOL/$TESTFS' " \ 81 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted" 82 unmounted $TESTPOOL/$TESTFS || \ 83 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
|
H A D | zfs_mount_005_pos.ksh | 54 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 55 log_must force_unmount $TESTPOOL/$TESTFS 66 unmounted $TESTPOOL/$TESTFS || \ 75 zfs $mountcmd $TESTPOOL/$TESTFS 78 log_fail "'zfs $mountcmd $TESTPOOL/$TESTFS' " \ 81 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted" 82 unmounted $TESTPOOL/$TESTFS || \ 83 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
|
H A D | zfs_mount_006_pos.ksh | 55 log_must force_unmount $TESTPOOL/$TESTFS 62 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 63 log_must force_unmount $TESTPOOL/$TESTFS 76 unmounted $TESTPOOL/$TESTFS || \ 77 log_must force_unmount $TESTPOOL/$TESTFS 91 log_must zfs set mountpoint=$mtpt $TESTPOOL/$TESTFS 92 log_must zfs $mountcmd $TESTPOOL/$TESTFS 94 mounted $TESTPOOL/$TESTFS || \ 95 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted"
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/ |
H A D | snapshot_016_pos.ksh | 52 datasetexists $TESTPOOL/$TESTFS@snap_a && \ 53 log_must zfs destroy -Rf $TESTPOOL/$TESTFS@snap_a 59 datasetexists $TESTPOOL/$TESTFS && \ 60 log_must zfs destroy $TESTPOOL/$TESTFS 62 log_must zfs create $TESTPOOL/$TESTFS 63 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 74 datasetexists $TESTPOOL/$TESTFS@snap_a || \ 76 log_must zfs destroy $TESTPOOL/$TESTFS@snap_a 84 datasetexists $TESTPOOL/$TESTFS@snap_a || \ 88 log_must zfs promote $TESTPOOL/$TESTFS [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_011_pos.ksh | 51 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS 52 unshare_fs $TESTPOOL/$TESTFS 54 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then 55 log_must zfs destroy -f $TESTPOOL/$TESTFS@snapshot 58 if datasetexists $TESTPOOL/$TESTFS/fs2 ; then 59 log_must zfs destroy -f $TESTPOOL/$TESTFS/fs2 70 log_must zfs set sharenfs=on $TESTPOOL/$TESTFS 73 log_mustnot zfs umount $TESTPOOL/$TESTFS 80 log_must zfs create $TESTPOOL/$TESTFS/fs2 82 log_mustnot zfs destroy $TESTPOOL/$TESTFS/fs2
|
H A D | zfs_share_001_pos.ksh | 50 "$TESTDIR" "$TESTPOOL/$TESTFS" \ 52 "$TESTDIR2" "$TESTPOOL/$TESTFS-clone" 64 if mounted $TESTPOOL/$TESTFS-clone; then 68 datasetexists $TESTPOOL/$TESTFS-clone && \ 69 log_must zfs destroy -f $TESTPOOL/$TESTFS-clone 71 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then 72 log_must zfs destroy -f $TESTPOOL/$TESTFS@snapshot 113 log_must zfs snapshot $TESTPOOL/$TESTFS@snapshot 114 log_must zfs clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone 115 log_must zfs set mountpoint=$TESTDIR2 $TESTPOOL/$TESTFS-clone
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/ |
H A D | zpool_offline_002_neg.ksh | 49 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \ 55 "-f $TESTPOOL" "-f $TESTPOOL/$TESTFS" "-f $TESTPOOL/$TESTFS $DISKLIST" \ 61 "-ft $TESTPOOL" "-ft $TESTPOOL/$TESTFS" \ 62 "-ft $TESTPOOL/$TESTFS $DISKLIST" \ 68 "-tf $TESTPOOL" "-tf $TESTPOOL/$TESTFS" \ 69 "-tf $TESTPOOL/$TESTFS $DISKLIST" \ 75 "$TESTPOOL" "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $DISKLIST" \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mount/ |
H A D | umount_unlinked_drain.ksh | 37 mounted $TESTDIR.$fs || zfs mount $TESTPOOL/$TESTFS.$fs 39 zfs set xattr=on $TESTPOOL/$TESTFS.$fs 82 log_must zfs set xattr=$xa $TESTPOOL/$TESTFS.$fs 93 log_must unlinked_size_is 0 $TESTPOOL $TESTPOOL/$TESTFS.$fs 99 log_must unlinked_size_is 100 $TESTPOOL $TESTPOOL/$TESTFS.$fs 102 log_must zfs umount $TESTPOOL/$TESTFS.$fs 104 log_must zfs mount $TESTPOOL/$TESTFS.$fs 106 log_must unlinked_size_is 100 $TESTPOOL $TESTPOOL/$TESTFS.$fs 110 log_must zfs umount $TESTPOOL/$TESTFS.$fs 111 log_must zfs mount $TESTPOOL/$TESTFS.$fs [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/ |
H A D | removal_remap_deadlists.ksh | 29 log_must zfs snapshot $TESTPOOL/$TESTFS@snap-pre1 33 log_must zfs snapshot $TESTPOOL/$TESTFS@snap-pre2 41 log_must zfs remap $TESTPOOL/$TESTFS 44 log_must zfs snapshot $TESTPOOL/$TESTFS@snap-post3 47 log_must zfs snapshot $TESTPOOL/$TESTFS@snap-post4 54 log_must zfs destroy $TESTPOOL/$TESTFS@snap-pre2 61 log_must zfs destroy $TESTPOOL/$TESTFS@snap-post3 64 log_must zfs destroy $TESTPOOL/$TESTFS@snap-post4 69 log_must zfs rollback $TESTPOOL/$TESTFS@snap-pre1 70 log_must zfs destroy $TESTPOOL/$TESTFS@snap-pre1
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_001_pos.ksh | 50 "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTCTR" "$TESTPOOL/$TESTCLONE" 54 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \ 58 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP" 66 if snapexists $TESTPOOL/$TESTFS@$TESTSNAP ; then 67 log_must zfs destroy -R $TESTPOOL/$TESTFS@$TESTSNAP 76 log_must zfs set canmount=$old_fs_canmount $TESTPOOL/$TESTFS 87 old_fs_canmount=$(get_prop canmount $TESTPOOL/$TESTFS) 89 log_fail "Get the $TESTPOOL/$TESTFS canmount error." 94 log_must zfs snapshot $TESTPOOL/$TESTFS@$TESTSNAP 96 log_must zfs clone $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTCLONE
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_009_pos.ksh | 56 for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do 67 if ! datasetexists $TESTPOOL/$TESTFS; then 68 log_must zfs create $TESTPOOL/$TESTFS 69 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 75 if ! datasetexists $TESTPOOL/$TESTFS ; then 76 log_must zfs create $TESTPOOL/$TESTFS 77 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 80 log_must zfs snapshot $TESTPOOL/$TESTFS@$TESTSNAP 89 for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do
|