Home
last modified time | relevance | path

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

12345678910>>...16

/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh70 log_must zfs create $TESTPOOL/$TESTFS
90 log_must touch /$TESTPOOL/$TESTFS/a
93 log_must mv /$TESTPOOL/$TESTFS/a /$TESTPOOL/$TESTFS/b
96 log_must touch /$TESTPOOL/$TESTFS/c
97 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d
100 log_must touch /$TESTPOOL/$TESTFS/e
101 log_must ln /$TESTPOOL/$TESTFS/e /$TESTPOOL/$TESTFS/f
123 log_must rm -rf /$TESTPOOL/$TESTFS/dict
126 log_must touch /$TESTPOOL/$TESTFS/setattr
190 log_must zfs unmount /$TESTPOOL/$TESTFS
[all …]
/f-stack/freebsd/contrib/openzfs/tests/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 …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/no_space/
H A Denospc_002_pos.ksh41 log_must zfs set compression=off $TESTPOOL/$TESTFS
42 log_must zfs snapshot $TESTPOOL/$TESTFS@snap
66 $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS#bookmark
72 log_must zfs rename $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS@snap_newname
73 log_must zfs rename $TESTPOOL/$TESTFS@snap_newname $TESTPOOL/$TESTFS@snap
74 log_must zfs rename $TESTPOOL/$TESTFS $TESTPOOL/${TESTFS}_newname
75 log_must zfs rename $TESTPOOL/${TESTFS}_newname $TESTPOOL/$TESTFS
79 log_must zfs set quota=1EB $TESTPOOL/$TESTFS
80 log_must zfs set quota=none $TESTPOOL/$TESTFS
89 log_must zfs rollback $TESTPOOL/$TESTFS@snap
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/
H A Dzfs_unshare_006_pos.ksh51 log_must zfs destroy -f $TESTPOOL/$TESTFS/shared1
52 log_must zfs destroy -f $TESTPOOL/$TESTFS/shared2
53 log_must zfs destroy -f $TESTPOOL/$TESTFS/shared3
61 log_must zfs create $TESTPOOL/$TESTFS/shared1
62 log_must zfs create $TESTPOOL/$TESTFS/shared2
63 log_must zfs create $TESTPOOL/$TESTFS/shared3
67 log_must zfs set sharenfs=on $TESTPOOL/$TESTFS/shared1
77 log_must eval "not_shared $TESTPOOL/$TESTFS/shared1"
78 log_must eval "not_shared $TESTPOOL/$TESTFS/shared2"
87 log_must eval "is_shared $TESTPOOL/$TESTFS/shared1"
[all …]
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"
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_snapshots.ksh30 destroy_dataset $TESTPOOL/$TESTFS@$TESTSNAP
31 destroy_dataset $TESTPOOL/$TESTFS@$TESTSNAP1
50 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
72 a["$TESTPOOL/$TESTFS@$TESTSNAP"] = false
73 a["$TESTPOOL/$TESTFS@$TESTSNAP1"] = false
74 a["$TESTPOOL/$TESTFS@$TESTSNAP2"] = false
75 a["$TESTPOOL/$TESTFS@$TESTSNAP3"] = false
84 a["$TESTPOOL/$TESTFS@$TESTSNAP1"] and
85 a["$TESTPOOL/$TESTFS@$TESTSNAP2"] and
86 a["$TESTPOOL/$TESTFS@$TESTSNAP3"])
[all …]
/f-stack/freebsd/contrib/openzfs/tests/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"
/f-stack/freebsd/contrib/openzfs/tests/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 …]
/f-stack/freebsd/contrib/openzfs/tests/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 …]
/f-stack/freebsd/contrib/openzfs/tests/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" \
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_016_pos.ksh52 datasetexists $TESTPOOL/$TESTFS@snap_a && \
54 datasetexists $TESTPOOL/$TESTFS@snap_b && \
61 datasetexists $TESTPOOL/$TESTFS && \
62 log_must zfs destroy $TESTPOOL/$TESTFS
64 log_must zfs create $TESTPOOL/$TESTFS
76 datasetexists $TESTPOOL/$TESTFS@snap_a || \
78 log_must zfs destroy $TESTPOOL/$TESTFS@snap_a
86 datasetexists $TESTPOOL/$TESTFS@snap_b || \
90 log_must zfs promote $TESTPOOL/$TESTFS
92 log_must zfs destroy $TESTPOOL/$TESTFS@snap_b
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_remount.ksh109 TESTFS=$TESTPOOL/$TESTFS
110 TESTSNAP="$TESTFS@snap"
111 datasetexists $TESTFS || log_must zfs create $TESTFS
113 log_must zfs set readonly=off $TESTFS
120 checkmount $TESTFS 'rw'
121 log_must mount $RO $TESTFS $MNTPFS
123 checkmount $TESTFS 'ro'
124 log_must mount $RW $TESTFS $MNTPFS
126 checkmount $TESTFS 'rw'
166 checkmount $TESTFS 'ro'
[all …]
H A Dzfs_mount_005_pos.ksh56 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
57 log_must force_unmount $TESTPOOL/$TESTFS
68 unmounted $TESTPOOL/$TESTFS || \
77 zfs $mountcmd $TESTPOOL/$TESTFS
81 log_fail "'zfs $mountcmd $TESTPOOL/$TESTFS' " \
85 log_fail "'zfs $mountcmd $TESTPOOL/$TESTFS' " \
89 log_note "Make sure the filesystem $TESTPOOL/$TESTFS is unmounted"
91 mounted $TESTPOOL/$TESTFS || \
92 log_fail Filesystem $TESTPOOL/$TESTFS is unmounted
94 unmounted $TESTPOOL/$TESTFS || \
[all …]
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_006_pos.ksh60 log_must force_unmount $TESTPOOL/$TESTFS
67 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
68 log_must force_unmount $TESTPOOL/$TESTFS
81 unmounted $TESTPOOL/$TESTFS || \
82 log_must force_unmount $TESTPOOL/$TESTFS
96 log_must zfs set mountpoint=$mtpt $TESTPOOL/$TESTFS
97 log_must zfs $mountcmd $TESTPOOL/$TESTFS
99 log_must zfs set overlay=off $TESTPOOL/$TESTFS
105 mounted $TESTPOOL/$TESTFS || \
106 log_unresolved "Filesystem $TESTPOOL/$TESTFS is unmounted"
/f-stack/freebsd/contrib/openzfs/tests/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.ksh51 "$TESTDIR2" "$TESTPOOL/$TESTFS-clone" \
52 "$TESTDIR" "$TESTPOOL/$TESTFS"
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
115 log_must zfs snapshot $TESTPOOL/$TESTFS@snapshot
116 log_must zfs clone $TESTPOOL/$TESTFS@snapshot $TESTPOOL/$TESTFS-clone
117 log_must zfs set mountpoint=$TESTDIR2 $TESTPOOL/$TESTFS-clone
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_object_range_pos.ksh83 all_objects=$(get_object_list $TESTPOOL/$TESTFS | grep -v 'used$')
87 actual=$(get_object_list $TESTPOOL/$TESTFS 0:-1)
92 actual=$(get_object_list $TESTPOOL/$TESTFS 0:-1:A)
97 actual=$(get_object_list $TESTPOOL/$TESTFS 0:-1:f)
102 actual=$(get_object_list $TESTPOOL/$TESTFS 0:-1:d)
107 actual=$(get_object_list $TESTPOOL/$TESTFS 0:-1:df)
112 actual=$(get_object_list $TESTPOOL/$TESTFS 0:-1:A-f-d)
121 expected=$(get_object_list_range $TESTPOOL/$TESTFS $start1 $end1;
122 get_object_list_range $TESTPOOL/$TESTFS $start2 $end2)
127 expected=$(get_object_list_range $TESTPOOL/$TESTFS $start1 $end1;
[all …]
/f-stack/freebsd/contrib/openzfs/tests/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" \
/f-stack/freebsd/contrib/openzfs/tests/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
81 log_must zfs set xattr=$xa $TESTPOOL/$TESTFS.$fs
92 log_must unlinked_size_is 0 $TESTPOOL $TESTPOOL/$TESTFS.$fs
98 log_must unlinked_size_is 100 $TESTPOOL $TESTPOOL/$TESTFS.$fs
101 log_must zfs umount $TESTPOOL/$TESTFS.$fs
103 log_must zfs mount $TESTPOOL/$TESTFS.$fs
105 log_must unlinked_size_is 100 $TESTPOOL $TESTPOOL/$TESTFS.$fs
109 log_must zfs umount $TESTPOOL/$TESTFS.$fs
110 log_must zfs mount $TESTPOOL/$TESTFS.$fs
[all …]
/f-stack/freebsd/contrib/openzfs/tests/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

12345678910>>...16