Home
last modified time | relevance | path

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

12345678910>>...33

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/slog/
H A Dslog_replay_fs_001.ksh71 log_must zfs create $TESTPOOL/$TESTFS
78 log_must dd if=/dev/zero of=/$TESTPOOL/$TESTFS/sync \
86 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/direct \
99 log_must touch /$TESTPOOL/$TESTFS/a
102 log_must mv /$TESTPOOL/$TESTFS/a /$TESTPOOL/$TESTFS/b
105 log_must touch /$TESTPOOL/$TESTFS/c
106 log_must ln -s /$TESTPOOL/$TESTFS/c /$TESTPOOL/$TESTFS/d
109 log_must touch /$TESTPOOL/$TESTFS/e
110 log_must ln /$TESTPOOL/$TESTFS/e /$TESTPOOL/$TESTFS/f
113 log_must mkdir /$TESTPOOL/$TESTFS/dir_to_delete
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zoned_uid/
H A Dzoned_uid_009_pos.ksh47 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
48 zfs destroy -rf "$TESTPOOL/$TESTFS/outside" 2>/dev/null
55 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
56 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
57 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
59 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/child1"
60 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/subdir"
61 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/subdir/nested"
64 log_must zfs create "$TESTPOOL/$TESTFS/outside"
71 log_must zfs unmount "$TESTPOOL/$TESTFS/deleg_root/subdir/nested"
[all …]
H A Dzoned_uid_024_neg.ksh50 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
60 log_must zfs create -o mountpoint=none "$TESTPOOL/$TESTFS/deleg_root"
61 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
62 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/victim1"
63 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/victim2"
64 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/victim3"
65 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/victim4"
66 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/rename_src"
69 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
76 destroy "$TESTPOOL/$TESTFS/deleg_root/victim1" 2>&1)
[all …]
H A Dzoned_uid_019_neg.ksh51 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root_a" 2>/dev/null
52 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root_b" 2>/dev/null
59 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root_a"
60 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root_a" "$ZONED_TEST_UID"
61 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root_a" "$ZONED_TEST_UID" \
64 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root_b"
65 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root_b" "$ZONED_OTHER_UID"
66 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root_b" "$ZONED_OTHER_UID" \
70 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root_a/child_a"
71 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root_b/child_b"
[all …]
H A Dzoned_uid_029_neg.ksh48 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
49 zfs destroy -rf "$TESTPOOL/$TESTFS/outside" 2>/dev/null
56 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
57 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
58 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/child"
59 log_must zfs create "$TESTPOOL/$TESTFS/outside"
60 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
62 log_must zfs set filesystem_limit=10 "$TESTPOOL/$TESTFS/deleg_root"
63 log_must zfs set snapshot_limit=5 "$TESTPOOL/$TESTFS/deleg_root"
68 destroy "$TESTPOOL/$TESTFS/deleg_root" >/dev/null 2>&1
[all …]
H A Dzoned_uid_020_neg.ksh52 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
59 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
60 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
61 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
66 create "$TESTPOOL/$TESTFS/deleg_root/child" 2>&1)
73 snapshot "$TESTPOOL/$TESTFS/deleg_root/child@snap1" 2>&1)
80 log_must zfs clone "$TESTPOOL/$TESTFS/deleg_root/child@snap1" \
81 "$TESTPOOL/$TESTFS/deleg_root/myclone"
88 send "$TESTPOOL/$TESTFS/deleg_root/child@snap1" 2>&1)
99 rollback "$TESTPOOL/$TESTFS/deleg_root/child@snap1" 2>&1)
[all …]
H A Dzoned_uid_018_pos.ksh49 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
50 zfs destroy -rf "$TESTPOOL/$TESTFS/outside_clone" 2>/dev/null
57 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
58 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
59 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
65 create "$TESTPOOL/$TESTFS/deleg_root/child" 2>&1)
73 snapshot "$TESTPOOL/$TESTFS/deleg_root/child@snap1" 2>&1)
83 clone "$TESTPOOL/$TESTFS/deleg_root/child@snap1" \
84 "$TESTPOOL/$TESTFS/deleg_root/myclone" 2>&1)
93 log_must zfs list "$TESTPOOL/$TESTFS/deleg_root/myclone"
[all …]
H A Dzoned_uid_008_pos.ksh48 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
55 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
56 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
57 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
59 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/child1"
60 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/child2"
61 log_must zfs snapshot "$TESTPOOL/$TESTFS/deleg_root/child1@snap1"
68 log_must zfs unmount "$TESTPOOL/$TESTFS/deleg_root/child1"
69 log_must zfs unmount "$TESTPOOL/$TESTFS/deleg_root/child2"
75 destroy "$TESTPOOL/$TESTFS/deleg_root/child1@snap1" 2>&1)
[all …]
H A Dzoned_uid_023_pos.ksh50 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
59 log_must zfs create -o mountpoint=none "$TESTPOOL/$TESTFS/deleg_root"
60 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
63 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
70 create "$TESTPOOL/$TESTFS/deleg_root/add1_child" 2>&1)
80 create "$TESTPOOL/$TESTFS/deleg_root/add2_child" 2>&1)
87 if datasetexists "$TESTPOOL/$TESTFS/deleg_root/add2_child"; then
93 log_must revoke_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
95 create "$TESTPOOL/$TESTFS/deleg_root/add3_child" 2>&1)
101 if datasetexists "$TESTPOOL/$TESTFS/deleg_root/add3_child"; then
[all …]
H A Dzoned_uid_022_neg.ksh52 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
59 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
60 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
61 log_must grant_deleg "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID" \
65 log_must zfs set filesystem_limit=10 "$TESTPOOL/$TESTFS/deleg_root"
66 log_must zfs set snapshot_limit=5 "$TESTPOOL/$TESTFS/deleg_root"
74 set filesystem_limit=none "$TESTPOOL/$TESTFS/deleg_root" 2>&1)
83 set filesystem_limit=100 "$TESTPOOL/$TESTFS/deleg_root" 2>&1)
92 set snapshot_limit=none "$TESTPOOL/$TESTFS/deleg_root" 2>&1)
100 fs_limit=$(get_prop filesystem_limit "$TESTPOOL/$TESTFS/deleg_root")
[all …]
H A Dzoned_uid_011_neg.ksh49 zfs destroy -rf "$TESTPOOL/$TESTFS/deleg_root" 2>/dev/null
56 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root"
57 log_must set_zoned_uid "$TESTPOOL/$TESTFS/deleg_root" "$ZONED_TEST_UID"
58 log_must zfs create "$TESTPOOL/$TESTFS/deleg_root/child"
69 list "$TESTPOOL/$TESTFS/deleg_root" 2>&1)
77 create "$TESTPOOL/$TESTFS/deleg_root/unauthorized_child" 2>&1)
86 if zfs list "$TESTPOOL/$TESTFS/deleg_root/unauthorized_child" 2>/dev/null; then
94 snapshot "$TESTPOOL/$TESTFS/deleg_root/child@unauthorized" 2>&1)
106 set quota=1G "$TESTPOOL/$TESTFS/deleg_root/child" 2>&1)
116 actual_quota=$(zfs get -H -o value quota "$TESTPOOL/$TESTFS/deleg_root/child")
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_nomount.ksh61 log_must zfs set sharenfs=off $TESTPOOL/$TESTFS
63 log_must zfs set sharesmb=off $TESTPOOL/$TESTFS
72 oldmpt=$(get_prop mountpoint $TESTPOOL/$TESTFS)
76 log_must ismounted $TESTPOOL/$TESTFS
77 log_must zfs set -u mountpoint=$newmpt $TESTPOOL/$TESTFS
78 log_must check_user_prop $TESTPOOL/$TESTFS mountpoint $newmpt
79 log_must eval "[[ "$(mount | grep $TESTPOOL/$TESTFS | awk '{print $3}')" == $oldmpt ]]"
80 log_must zfs unmount $TESTPOOL/$TESTFS
81 log_mustnot ismounted $TESTPOOL/$TESTFS
82 log_must zfs mount $TESTPOOL/$TESTFS
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_001_pos.ksh49 "list $TESTPOOL/$TESTFS" \
50 "list -r $TESTPOOL/$TESTFS" "list -H $TESTPOOL/$TESTFS" \
51 "list -rH $TESTPOOL/$TESTFS" "list -Hr $TESTPOOL/$TESTFS" \
52 "list -o name $TESTPOOL/$TESTFS" "list -r -o name $TESTPOOL/$TESTFS" \
53 "list -H -o name $TESTPOOL/$TESTFS" "list -rH -o name $TESTPOOL/$TESTFS" \
54 "list -Hr -o name $TESTPOOL/$TESTFS"
57 "$TESTPOOL/$TESTFS" \
58 "-r $TESTPOOL/$TESTFS" "-H $TESTPOOL/$TESTFS" \
59 "-rH $TESTPOOL/$TESTFS" "-Hr $TESTPOOL/$TESTFS" \
60 "-o name $TESTPOOL/$TESTFS" "-r -o name $TESTPOOL/$TESTFS" \
[all …]
H A Dzfs_list_002_pos.ksh101 "zfs list -H -r -o name -s creation -t filesystem $TESTPOOL/$TESTFS" \
105 "zfs list -H -r -o name -s creation -t volume $TESTPOOL/$TESTFS" \
109 "zfs list -H -r -o name -s creation -t snapshot $TESTPOOL/$TESTFS" \
114 "zfs list -H -r -o name -s checksum -t filesystem $TESTPOOL/$TESTFS" \
118 "zfs list -H -r -o name -s checksum -t volume $TESTPOOL/$TESTFS" \
122 "zfs list -H -r -o name -s checksum -t snapshot $TESTPOOL/$TESTFS" \
125 "zfs list -H -r -o name -S checksum -t snapshot $TESTPOOL/$TESTFS" \
130 "zfs list -H -r -o name -s name -t filesystem $TESTPOOL/$TESTFS" \
134 "zfs list -H -r -o name -s name -t volume $TESTPOOL/$TESTFS" \
138 "zfs list -H -r -o name -s name -t snapshot $TESTPOOL/$TESTFS" \
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_user/zfs_list/
H A Dzfs_list_001_pos.ksh57 "list $TESTPOOL/$TESTFS" \
58 "list -r $TESTPOOL/$TESTFS" "list -H $TESTPOOL/$TESTFS" \
59 "list -rH $TESTPOOL/$TESTFS" "list -Hr $TESTPOOL/$TESTFS" \
60 "list -o name $TESTPOOL/$TESTFS" "list -r -o name $TESTPOOL/$TESTFS" \
61 "list -H -o name $TESTPOOL/$TESTFS" "list -rH -o name $TESTPOOL/$TESTFS" \
62 "list -Hr -o name $TESTPOOL/$TESTFS"
66 "$TESTPOOL/$TESTFS" \
67 "-r $TESTPOOL/$TESTFS" "-H $TESTPOOL/$TESTFS" \
68 "-rH $TESTPOOL/$TESTFS" "-Hr $TESTPOOL/$TESTFS" \
69 "-o name $TESTPOOL/$TESTFS" "-r -o name $TESTPOOL/$TESTFS" \
[all …]
H A Dzfs_list_002_pos.ksh109 "run_unprivileged $ZFS list -H -r -o name -s creation -t filesystem $TESTPOOL/$TESTFS" \
113 "run_unprivileged $ZFS list -H -r -o name -s creation -t volume $TESTPOOL/$TESTFS" \
117 "run_unprivileged $ZFS list -H -r -o name -s creation -t snapshot $TESTPOOL/$TESTFS" \
122 "run_unprivileged $ZFS list -H -r -o name -s checksum -t filesystem $TESTPOOL/$TESTFS" \
126 "run_unprivileged $ZFS list -H -r -o name -s checksum -t volume $TESTPOOL/$TESTFS" \
130 "run_unprivileged $ZFS list -H -r -o name -s checksum -t snapshot $TESTPOOL/$TESTFS" \
133 "run_unprivileged $ZFS list -H -r -o name -S checksum -t snapshot $TESTPOOL/$TESTFS" \
138 "run_unprivileged $ZFS list -H -r -o name -s name -t filesystem $TESTPOOL/$TESTFS" \
142 "run_unprivileged $ZFS list -H -r -o name -s name -t volume $TESTPOOL/$TESTFS" \
146 "run_unprivileged $ZFS list -H -r -o name -s name -t snapshot $TESTPOOL/$TESTFS" \
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/no_space/
H A Denospc_002_pos.ksh42 log_must zfs set compression=off $TESTPOOL/$TESTFS
43 log_must zfs snapshot $TESTPOOL/$TESTFS@snap
63 log_mustnot_expect space zfs create $TESTPOOL/$TESTFS/subfs
64 log_mustnot_expect space zfs clone $TESTPOOL/$TESTFS@snap $TESTPOOL/clone
66 log_must eval "zfs send $TESTPOOL/$TESTFS@snap > $TEST_BASE_DIR/stream.$$"
67 log_mustnot_expect space eval "zfs receive $TESTPOOL/$TESTFS/recvd < $TEST_BASE_DIR/stream.$$"
70 log_must zfs rename $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS@snap_newname
71 log_must zfs rename $TESTPOOL/$TESTFS@snap_newname $TESTPOOL/$TESTFS@snap
72 log_must zfs rename $TESTPOOL/$TESTFS $TESTPOOL/${TESTFS}_newname
73 log_must zfs rename $TESTPOOL/${TESTFS}_newname $TESTPOOL/$TESTFS
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_snapshots.ksh31 destroy_dataset $TESTPOOL/$TESTFS@$TESTSNAP
32 destroy_dataset $TESTPOOL/$TESTFS@$TESTSNAP1
33 destroy_dataset $TESTPOOL/$TESTFS@$TESTSNAP2
34 destroy_dataset $TESTPOOL/$TESTFS@$TESTSNAP3
42 for s in zfs.list.snapshots("$TESTPOOL/$TESTFS") do
51 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP
55 for s in zfs.list.snapshots("$TESTPOOL/$TESTFS") do
56 assert(s == "$TESTPOOL/$TESTFS@$TESTSNAP")
66 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP1
67 create_snapshot $TESTPOOL/$TESTFS $TESTSNAP2
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/
H A Dzfs_unshare_006_pos.ksh50 log_must zfs destroy -f $TESTPOOL/$TESTFS/shared1
51 log_must zfs destroy -f $TESTPOOL/$TESTFS/shared2
52 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
64 log_must zfs set mountpoint=$TESTDIR/1 $TESTPOOL/$TESTFS/shared1
65 log_must zfs set mountpoint=$TESTDIR/2 $TESTPOOL/$TESTFS/shared2
66 log_must zfs set mountpoint=$TESTDIR/3 $TESTPOOL/$TESTFS/shared3
67 log_must zfs set sharenfs=on $TESTPOOL/$TESTFS/shared1
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/
H A Dzfs_destroy_006_neg.ksh58 "-? $TESTPOOL/$TESTFS" "$TESTPOOL/blah"\
60 "-fr $TESTPOOL/blah" "-$ $TESTPOOL/$TESTFS" "-5 $TESTPOOL/$TESTFS" \
61 "-rfgh $TESTPOOL/$TESTFS" "-rghf $TESTPOOL/$TESTFS" \
62 "$TESTPOOL/$TESTFS@blah" "/$TESTPOOL/$TESTFS" "-f /$TESTPOOL/$TESTFS" \
63 "-rf /$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS" \
64 "-rRf $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/
H A Dblock_cloning_replay_encrypted.ksh72 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS"
77 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/file1 \
79 log_must zfs set recordsize=16K $TESTPOOL/$TESTFS
80 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/file2 \
92 log_must clonefile -f /$TESTPOOL/$TESTFS/file1 /$TESTPOOL/$TESTFS/clone1
93 log_must clonefile -f /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
101 log_must zfs unmount /$TESTPOOL/$TESTFS
104 log_must zdb -iv $TESTPOOL/$TESTFS
119 log_must have_same_content /$TESTPOOL/$TESTFS/file1 /$TESTPOOL/$TESTFS/clone1
120 log_must have_same_content /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
[all …]
H A Dblock_cloning_replay.ksh70 log_must zfs create $TESTPOOL/$TESTFS
75 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/file1 \
77 log_must zfs set recordsize=16K $TESTPOOL/$TESTFS
78 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS/file2 \
90 log_must clonefile -f /$TESTPOOL/$TESTFS/file1 /$TESTPOOL/$TESTFS/clone1
91 log_must clonefile -f /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
99 log_must zfs unmount /$TESTPOOL/$TESTFS
102 log_must zdb -iv $TESTPOOL/$TESTFS
117 log_must have_same_content /$TESTPOOL/$TESTFS/file1 /$TESTPOOL/$TESTFS/clone1
118 log_must have_same_content /$TESTPOOL/$TESTFS/file2 /$TESTPOOL/$TESTFS/clone2
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_006_neg.ksh52 "-? $TESTPOOL/$TESTFS" "$TESTPOOL/blah"\
54 "-fr $TESTPOOL/blah" "-$ $TESTPOOL/$TESTFS" "-5 $TESTPOOL/$TESTFS" \
55 "-rfgh $TESTPOOL/$TESTFS" "-rghf $TESTPOOL/$TESTFS" \
56 "$TESTPOOL/$TESTFS@blah" "/$TESTPOOL/$TESTFS" "-f /$TESTPOOL/$TESTFS" \
57 "-rf /$TESTPOOL/$TESTFS" "$TESTPOOL/$TESTFS $TESTPOOL/$TESTFS" \
58 "-rRf $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS"
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_012_pos.ksh85 ismounted "${pools[i]}/$TESTFS" || \
86 log_must $ZFS mount ${pools[i]}/$TESTFS
94 if datasetexists $TESTPOOL/$TESTFS ; then
95 log_must $ZFS destroy -Rf $TESTPOOL/$TESTFS
97 log_must $ZFS create $TESTPOOL/$TESTFS
98 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
109 setup_filesystem "$DEVICE_FILES" $TESTPOOL1 $TESTFS $TESTDIR1
111 log_must $ZFS create $pool/$TESTFS/$TESTCTR
112 log_must $ZFS create $pool/$TESTFS/$TESTCTR/$TESTCTR1
113 log_must $ZFS set canmount=off $pool/$TESTFS/$TESTCTR
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_012_pos.ksh79 ismounted "${pools[i]}/$TESTFS" || \
80 log_must zfs mount ${pools[i]}/$TESTFS
88 datasetexists $TESTPOOL/$TESTFS && \
89 destroy_dataset $TESTPOOL/$TESTFS -Rf
91 log_must zfs create $TESTPOOL/$TESTFS
92 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
103 setup_filesystem "$DEVICE_FILES" $TESTPOOL1 $TESTFS $TESTDIR1
106 log_must zfs create $pool/$TESTFS/$TESTCTR
107 log_must zfs create $pool/$TESTFS/$TESTCTR/$TESTCTR1
108 log_must zfs set canmount=off $pool/$TESTFS/$TESTCTR
[all …]

12345678910>>...33