Home
last modified time | relevance | path

Searched refs:TESTFS (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/titanic_50/usr/src/test/zfs-tests/tests/functional/no_space/
H A Denospc_002_pos.ksh33 log_must $ZFS set compression=off $TESTPOOL/$TESTFS
34 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snap
44 log_mustnot_expect space $ZFS create $TESTPOOL/$TESTFS/subfs
45 log_mustnot_expect space $ZFS clone $TESTPOOL/$TESTFS@snap $TESTPOOL/clone
46 log_mustnot_expect space $ZFS snapshot $TESTPOOL/$TESTFS@snap2
48 $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS#bookmark
50 log_must $ZFS send $TESTPOOL/$TESTFS@snap >/tmp/stream.$$
51 log_mustnot_expect space $ZFS receive $TESTPOOL/$TESTFS/recvd </tmp/stream.$$
54 log_must $ZFS rename $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS@snap_newname
55 log_must $ZFS rename $TESTPOOL/$TESTFS@snap_newname $TESTPOOL/$TESTFS@snap
[all …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_001_pos.ksh48 "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 Dzfs_list_002_pos.ksh100 "$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 …]
H A Dsetup.ksh45 log_must $ZFS create $TESTPOOL/$TESTFS/$dataset
47 log_must $ZFS snapshot $TESTPOOL/$TESTFS/${dataset}@snap
51 log_must $ZFS create -V 64M $TESTPOOL/$TESTFS/${dataset}-vol
53 log_must $ZFS snapshot $TESTPOOL/$TESTFS/${dataset}-vol@snap
59 $TESTPOOL/$TESTFS/$dataset
60 if datasetexists $TESTPOOL/$TESTFS/${dataset}-vol; then
62 $TESTPOOL/$TESTFS/${dataset}-vol
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_006_neg.ksh51 "-? $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"
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_012_pos.ksh78 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 …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh53 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
55 $TESTPOOL/$TESTCTR1 $TESTPOOL/$TESTFS@snapshot \
59 $TESTPOOL/$TESTCTR/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
63 $TESTPOOL/$TESTVOL $TESTPOOL/$TESTFS@snapshot \
66 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR1 \
67 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTVOL \
68 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS1 \
69 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTCTR/$TESTFS1 \
75 $TESTPOOL/$TESTFS@snapshot \
76 $TESTPOOL/$TESTFS@snapshot/fs
[all …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dzfs_destroy_001_neg.ksh48 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 Dsetup.ksh55 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 Dzfs_unmount_001_neg.ksh48 "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" \
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unshare/
H A Dzfs_unshare_004_neg.ksh50 "-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"
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_004_pos.ksh49 log_must force_unmount $TESTPOOL/$TESTFS
60 unmounted $TESTPOOL/$TESTFS || \
63 log_must $ZFS $mountcmd $TESTPOOL/$TESTFS
65 mounted $TESTPOOL/$TESTFS || \
66 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted"
68 $ZFS $mountcmd $TESTPOOL/$TESTFS
71 log_fail "'$ZFS $mountcmd $TESTPOOL/$TESTFS' " \
74 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted"
75 mounted $TESTPOOL/$TESTFS || \
76 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted
H A Dzfs_mount_003_pos.ksh49 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
50 log_must force_unmount $TESTPOOL/$TESTFS
66 unmounted $TESTPOOL/$TESTFS || \
69 log_must $ZFS set mountpoint=${mopt[i]} $TESTPOOL/$TESTFS
71 $ZFS $mountcmd $TESTPOOL/$TESTFS
74 log_fail "'$ZFS $mountcmd $TESTPOOL/$TESTFS' " \
77 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted"
78 unmounted $TESTPOOL/$TESTFS || \
79 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
H A Dzfs_mount_005_pos.ksh50 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
51 log_must force_unmount $TESTPOOL/$TESTFS
62 unmounted $TESTPOOL/$TESTFS || \
71 $ZFS $mountcmd $TESTPOOL/$TESTFS
74 log_fail "'$ZFS $mountcmd $TESTPOOL/$TESTFS' " \
77 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted"
78 unmounted $TESTPOOL/$TESTFS || \
79 log_fail Filesystem $TESTPOOL/$TESTFS is mounted
H A Dzfs_mount_006_pos.ksh50 log_must force_unmount $TESTPOOL/$TESTFS
57 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
58 log_must force_unmount $TESTPOOL/$TESTFS
71 unmounted $TESTPOOL/$TESTFS || \
72 log_must force_unmount $TESTPOOL/$TESTFS
86 log_must $ZFS set mountpoint=$mtpt $TESTPOOL/$TESTFS
87 log_must $ZFS $mountcmd $TESTPOOL/$TESTFS
89 mounted $TESTPOOL/$TESTFS || \
90 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted"
H A Dzfs_mount_001_pos.ksh46 log_must force_unmount $TESTPOOL/$TESTFS
54 unmounted $TESTPOOL/$TESTFS || \
57 log_must $ZFS $mountcmd $TESTPOOL/$TESTFS
59 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is mounted"
60 mounted $TESTPOOL/$TESTFS || \
61 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted
/titanic_50/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_016_pos.ksh52 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 …]
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_011_pos.ksh47 log_must $ZFS set sharenfs=off $TESTPOOL/$TESTFS
48 unshare_fs $TESTPOOL/$TESTFS
50 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then
51 log_must $ZFS destroy -f $TESTPOOL/$TESTFS@snapshot
54 if datasetexists $TESTPOOL/$TESTFS/fs2 ; then
55 log_must $ZFS destroy -f $TESTPOOL/$TESTFS/fs2
66 log_must $ZFS set sharenfs=on $TESTPOOL/$TESTFS
69 log_mustnot $ZFS umount $TESTPOOL/$TESTFS
76 log_must $ZFS create $TESTPOOL/$TESTFS/fs2
78 log_mustnot $ZFS destroy $TESTPOOL/$TESTFS/fs2
H A Dzfs_share_001_pos.ksh46 "$TESTDIR" "$TESTPOOL/$TESTFS" \
48 "$TESTDIR2" "$TESTPOOL/$TESTFS-clone"
60 if mounted $TESTPOOL/$TESTFS-clone; then
64 datasetexists $TESTPOOL/$TESTFS-clone && \
65 log_must $ZFS destroy -f $TESTPOOL/$TESTFS-clone
67 if snapexists "$TESTPOOL/$TESTFS@snapshot"; then
68 log_must $ZFS destroy -f $TESTPOOL/$TESTFS@snapshot
109 log_must $ZFS snapshot $TESTPOOL/$TESTFS@snapshot
110 log_must $ZFS clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone
111 log_must $ZFS set mountpoint=$TESTDIR2 $TESTPOOL/$TESTFS-clone
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_offline/
H A Dzpool_offline_002_neg.ksh44 "-t $TESTPOOL" "-t $TESTPOOL/$TESTFS" "-t $TESTPOOL/$TESTFS $DISKLIST" \
50 "-f $TESTPOOL" "-f $TESTPOOL/$TESTFS" "-f $TESTPOOL/$TESTFS $DISKLIST" \
56 "-ft $TESTPOOL" "-ft $TESTPOOL/$TESTFS" \
57 "-ft $TESTPOOL/$TESTFS $DISKLIST" \
63 "-tf $TESTPOOL" "-tf $TESTPOOL/$TESTFS" \
64 "-tf $TESTPOOL/$TESTFS $DISKLIST" \
70 "$TESTPOOL" "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $DISKLIST" \
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dcanmount_001_pos.ksh46 "$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTCTR" "$TESTPOOL/$TESTCLONE"
50 "$TESTPOOL/$TESTVOL" "$TESTPOOL/$TESTFS@$TESTSNAP" \
54 "$TESTPOOL/$TESTFS@$TESTSNAP" "$TESTPOOL/$TESTVOL@$TESTSNAP"
62 if snapexists $TESTPOOL/$TESTFS@$TESTSNAP ; then
63 log_must $ZFS destroy -R $TESTPOOL/$TESTFS@$TESTSNAP
72 log_must $ZFS set canmount=$old_fs_canmount $TESTPOOL/$TESTFS
83 old_fs_canmount=$(get_prop canmount $TESTPOOL/$TESTFS)
85 log_fail "Get the $TESTPOOL/$TESTFS canmount error."
90 log_must $ZFS snapshot $TESTPOOL/$TESTFS@$TESTSNAP
92 log_must $ZFS clone $TESTPOOL/$TESTFS@$TESTSNAP $TESTPOOL/$TESTCLONE
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_003_neg.ksh62 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
63 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP1
67 log_mustnot $ZFS rollback $TESTPOOL/$TESTFS@$TESTSNAP
68 log_mustnot $ZFS rollback -f $TESTPOOL/$TESTFS@$TESTSNAP
72 create_clone $TESTPOOL/$TESTFS@$TESTSNAP1 $TESTPOOL/$TESTCLONE1
76 log_mustnot $ZFS rollback -r $TESTPOOL/$TESTFS@$TESTSNAP
77 log_mustnot $ZFS rollback -rf $TESTPOOL/$TESTFS@$TESTSNAP
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_009_pos.ksh52 for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do
63 if ! datasetexists $TESTPOOL/$TESTFS; then
64 log_must $ZFS create $TESTPOOL/$TESTFS
65 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
71 if ! datasetexists $TESTPOOL/$TESTFS ; then
72 log_must $ZFS create $TESTPOOL/$TESTFS
73 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
76 log_must $ZFS snapshot $TESTPOOL/$TESTFS@$TESTSNAP
85 for fs in $TESTPOOL/$TESTFS $TESTPOOL ; do
/titanic_50/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_002_pos.ksh57 log_must $ZFS destroy -rf $TESTPOOL/$TESTFS
58 log_must $ZFS create $TESTPOOL/$TESTFS
59 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
89 log_must $ZFS create $TESTPOOL/$TESTFS/subfs
93 datasets="$TESTPOOL $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS/subfs"
95 datasets="$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS/subfs"
/titanic_50/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_001_neg.ksh60 "$TESTPOOL/$TESTFS@blah*" "$TESTPOOL/$TESTFS@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" \
66 "$TESTPOOL/$TESTFS@$TESTSNAP@$TESTSNAP1" \

12345678910>>...12