Home
last modified time | relevance | path

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

12345678910>>...15

/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh74 log_must zfs create $TESTPOOL/$TESTFS
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
124 log_must rm -rf /$TESTPOOL/$TESTFS/dict
127 log_must touch /$TESTPOOL/$TESTFS/setattr
182 log_must zfs unmount /$TESTPOOL/$TESTFS
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_snapshots.ksh54 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
59 assert(s == "$TESTPOOL/$TESTFS@$TESTSNAP")
69 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP1
76 a["$TESTPOOL/$TESTFS@$TESTSNAP"] = false
77 a["$TESTPOOL/$TESTFS@$TESTSNAP1"] = false
78 a["$TESTPOOL/$TESTFS@$TESTSNAP2"] = false
79 a["$TESTPOOL/$TESTFS@$TESTSNAP3"] = false
88 a["$TESTPOOL/$TESTFS@$TESTSNAP1"] and
89 a["$TESTPOOL/$TESTFS@$TESTSNAP2"] and
90 a["$TESTPOOL/$TESTFS@$TESTSNAP3"])
[all …]
H A Dtst.list_clones.ksh30 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 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" \
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" \
60 "-H -o name $TESTPOOL/$TESTFS" "-rH -o name $TESTPOOL/$TESTFS" \
[all …]
H A Dzfs_list_002_pos.ksh104 "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" \
117 "zfs list -H -r -o name -s checksum -t volume $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" \
146 "zfs list -H -r -o name -S creation -t volume $TESTPOOL/$TESTFS" \
159 "zfs list -H -r -o name -S checksum -t volume $TESTPOOL/$TESTFS" \
165 "zfs list -H -r -o name -S name -t filesystem $TESTPOOL/$TESTFS"\
169 "zfs list -H -r -o name -S name -t volume $TESTPOOL/$TESTFS"\
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/no_space/
H A Denospc_002_pos.ksh40 log_must zfs set compression=off $TESTPOOL/$TESTFS
41 log_must zfs snapshot $TESTPOOL/$TESTFS@snap
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
75 log_must zfs set user:prop=value $TESTPOOL/$TESTFS
76 log_must zfs set quota=1EB $TESTPOOL/$TESTFS
77 log_must zfs set quota=none $TESTPOOL/$TESTFS
86 log_must zfs rollback $TESTPOOL/$TESTFS@snap
[all …]
/illumos-gate/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"
/illumos-gate/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
105 log_must zfs create $pool/$TESTFS/$TESTCTR
111 log_must zfs create $pool/$TESTFS/$TESTFS1
112 log_must zfs snapshot $pool/$TESTFS/$TESTFS1@snap
116 typeset mount_fs="$TESTFS $TESTFS/$TESTFS1 $TESTCLONE1 \
117 $TESTFS/$TESTCTR/$TESTFS1 $TESTFS/$TESTCTR/$TESTCTR1/$TESTFS1"
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_004_neg.ksh58 $TESTPOOL/$TESTFS1 $TESTPOOL/$TESTFS@snapshot \
60 $TESTPOOL/$TESTCTR1 $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 \
80 $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS@snapshot/fs \
106 $TESTPOOL/$TESTFS@snapshot2
107 log_must datasetexists $TESTPOOL/$TESTFS@snapshot
109 $TESTPOOL/$TESTFS/$TESTFS@snapshot2
[all …]
/illumos-gate/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
81 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 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" \
/illumos-gate/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"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_004_pos.ksh53 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 Dzfs_mount_003_pos.ksh53 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 Dzfs_mount_005_pos.ksh54 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 Dzfs_mount_006_pos.ksh55 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 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
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
90 log_must zfs destroy $TESTPOOL/$TESTFS@snap_a
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/
H A Dzfs_share_011_pos.ksh51 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 Dzfs_share_001_pos.ksh50 "$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 Dzpool_offline_002_neg.ksh49 "-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/removal/
H A Dremoval_remap_deadlists.ksh29 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/mount/
H A Dumount_unlinked_drain.ksh37 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/cli_root/zfs_set/
H A Dcanmount_001_pos.ksh50 "$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 Dzfs_unmount_009_pos.ksh56 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

12345678910>>...15