Home
last modified time | relevance | path

Searched refs:mtpt (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/link_count/
H A Dlink_count_root_inode.ksh58 typeset mtpt=$(get_prop mountpoint $dst)
60 log_must test -d "$mtpt/.zfs"
61 if test -n "$(ls $mtpt)"; then
62 ls $mtpt
63 log_note "$mtpt not empty, skipping"
66 assert_link_count $mtpt 2
68 log_must mkdir $mtpt/a
69 assert_link_count $mtpt 3
70 log_must rmdir $mtpt/a
71 assert_link_count $mtpt 2
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dreadonly_001_pos.ksh62 typeset mtpt=$(get_prop mountpoint $dataset)
63 log_must touch $mtpt/$TESTFILE0
64 log_must mkdir -p $mtpt/$TESTDIR0
76 typeset mtpt=$(get_prop mountpoint $dataset)
77 log_must rm -f $mtpt/$TESTFILE0
78 log_must rm -rf $mtpt/$TESTDIR0
102 typeset mtpt=$(get_prop mountpoint $dataset)
103 $expect touch $mtpt/$TESTFILE1
104 $expect mkdir -p $mtpt/$TESTDIR1
105 $expect eval "echo 'y' | rm $mtpt/$TESTFILE0"
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dreadonly_001_pos.ksh71 typeset mtpt=$(get_prop mountpoint $dataset)
72 log_must $TOUCH $mtpt/$TESTFILE0
73 log_must $MKDIR -p $mtpt/$TESTDIR0
85 typeset mtpt=$(get_prop mountpoint $dataset)
86 log_must $RM -f $mtpt/$TESTFILE0
87 log_must $RM -rf $mtpt/$TESTDIR0
111 typeset mtpt=$(get_prop mountpoint $dataset)
112 $expect $TOUCH $mtpt/$TESTFILE1
113 $expect $MKDIR -p $mtpt/$TESTDIR1
114 $expect $ECHO 'y' | $RM $mtpt/$TESTFILE0
[all …]
/freebsd/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_clone_002_pos.ksh72 log_must $CP $MYTESTFILE $mtpt/$TESTFILE0
79 log_must $CP $MYTESTFILE $mtpt/$TESTFILE1
88 for file in "$mtpt/clone.0/$TESTFILE0" \
89 "$mtpt/clone.1/$TESTFILE1" ; do
97 log_must $RM -rf $mtpt/clone.0/*
98 log_must $RM -rf $mtpt/clone.1/*
102 log_must $RM -f $mtpt/*
115 typeset mtpt=""
124 mtpt=$(get_prop mountpoint $TESTPOOL)
H A Dhotspare_clone_001_pos.ksh72 log_must $CP $MYTESTFILE $mtpt/$TESTFILE0
79 log_must $CP $MYTESTFILE $mtpt/$TESTFILE1
88 for file in "$mtpt/clone.0/$TESTFILE0" \
89 "$mtpt/clone.1/$TESTFILE1" ; do
97 log_must $RM -rf $mtpt/clone.0/*
98 log_must $RM -rf $mtpt/clone.1/*
107 typeset mtpt=""
116 mtpt=$(get_prop mountpoint $TESTPOOL)
H A Dhotspare_import_001_pos.ksh119 $mtpt/$TESTFILE0 $checksum1
127 $mtpt/$TESTFILE0 $checksum1
138 typeset mtpt=""
147 mtpt=$(get_prop mountpoint $TESTPOOL)
148 log_must $CP $MYTESTFILE $mtpt/$TESTFILE0
154 $mtpt/$TESTFILE0 $checksum1
158 log_must $RM -f $mtpt/$TESTFILE0
H A Dhotspare_scrub_001_pos.ksh74 log_must $MKFILE 100m $mtpt/$TESTFILE0
80 log_must $MKFILE 100m $mtpt/$TESTFILE1
94 log_must $RM -f $mtpt/$TESTFILE0 \
95 $mtpt/$TESTFILE1
103 typeset mtpt=""
109 mtpt=$(get_prop mountpoint $TESTPOOL)
H A Dhotspare_snapshot_001_pos.ksh72 log_must $CP $MYTESTFILE $mtpt/$TESTFILE0
77 log_must $CP $MYTESTFILE $mtpt/$TESTFILE1
95 log_must $RM -f $mtpt/*
104 typeset mtpt="" snaproot=""
113 mtpt=$(get_prop mountpoint $TESTPOOL)
114 snaproot="$mtpt/$(get_snapdir_name)"
H A Dhotspare_snapshot_002_pos.ksh73 log_must $CP $MYTESTFILE $mtpt/$TESTFILE0
78 log_must $CP $MYTESTFILE $mtpt/$TESTFILE1
110 typeset mtpt="" snaproot=""
119 mtpt=$(get_prop mountpoint $TESTPOOL)
120 snaproot="$mtpt/$(get_snapdir_name)"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_006_pos.ksh89 typeset mtpt=$TESTDIR
92 mtpt=$mtpt/$depth
96 log_must zfs set mountpoint=$mtpt $TESTPOOL/$TESTFS
101 touch $mtpt/file.1
102 log_must ls -l $mtpt | grep file
119 log_must zfs set mountpoint=$mtpt $TESTPOOL/$TESTFS1
136 mtpt=${mtpt%/*}
H A Dzfs_mount.kshlib102 typeset mtpt=""
110 mtpt=$(get_prop mountpoint "$pool/$fs")
113 [[ -d $mtpt ]] && \
114 log_must rm -rf $mtpt
/freebsd/tests/sys/cddl/zfs/tests/acl/cifs/
H A Dcifs_attr_001_pos.ksh69 mtpt=$(get_prop mountpoint $fs)
70 log_must $RM -rf $mtpt/file.* $mtpt/dir.*
228 mtpt=$(get_prop mountpoint $fs)
231 create_object "file" $mtpt/$file $owner
232 create_object "dir" $mtpt/$dir $owner
234 for object in $mtpt/$file $mtpt/$dir ; do
252 destroy_object $mtpt/$file $mtpt/$dir
H A Dcifs_attr_002_pos.ksh72 mtpt=$(get_prop mountpoint $fs)
73 log_must $RM -rf $mtpt/file.* $mtpt/dir.*
242 mtpt=$(get_prop mountpoint $fs)
245 create_object "file" $mtpt/$file $owner
246 create_object "dir" $mtpt/$dir $owner
248 for object in $mtpt/$file $mtpt/$dir ; do
270 destroy_object $mtpt/$file $mtpt/$dir
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/
H A Dzfs_mount_006_pos.ksh92 typeset mtpt=$TESTDIR
95 mtpt=$mtpt/$depth
99 log_must $ZFS set mountpoint=$mtpt $TESTPOOL/$TESTFS
110 while [[ -n $mtpt ]] ; do
116 log_must $ZFS set mountpoint=$mtpt $TESTPOOL/$TESTFS1
122 mtpt=${mtpt%/*}
H A Dzfs_mount.kshlib100 typeset mtpt=""
108 mtpt=$(get_prop mountpoint "$pool/$fs")
111 [[ -d $mtpt ]] && \
112 log_must $RM -rf $mtpt
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/atime/
H A Datime_001_pos.ksh59 typeset mtpt=$(get_prop mountpoint $dst)
62 mtpt=$(snapshot_mountpoint $dst)
63 log_mustnot check_atime_updated $mtpt/$TESTFILE
68 log_must check_atime_updated $mtpt/$TESTFILE
69 log_must check_atime_updated $mtpt/$TESTFILE
H A Datime_003_pos.ksh57 typeset mtpt=$(get_prop mountpoint $dst)
60 mtpt=$(snapshot_mountpoint $dst)
61 log_mustnot check_atime_updated $mtpt/$TESTFILE
66 log_must check_atime_updated $mtpt/$TESTFILE
67 log_mustnot check_atime_updated $mtpt/$TESTFILE
H A Droot_atime_on.ksh62 typeset mtpt=$(get_prop mountpoint $dst)
65 mtpt=$(snapshot_mountpoint $dst)
66 log_mustnot check_atime_updated $mtpt/$TESTFILE
72 log_must check_atime_updated $mtpt/$TESTFILE
73 log_must check_atime_updated $mtpt/$TESTFILE
H A Droot_relatime_on.ksh63 typeset mtpt=$(get_prop mountpoint $dst)
66 mtpt=$(snapshot_mountpoint $dst)
67 log_mustnot check_atime_updated $mtpt/$TESTFILE
72 log_must check_atime_updated $mtpt/$TESTFILE
73 log_mustnot check_atime_updated $mtpt/$TESTFILE
H A Datime_002_neg.ksh60 typeset mtpt=$(get_prop mountpoint $dst)
63 mtpt=$(snapshot_mountpoint $dst)
68 log_mustnot check_atime_updated $mtpt/$TESTFILE
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_001_pos.ksh81 typeset mtpt
87 mtpt=$(get_prop mountpoint ${mountable[i]})
89 mtpt=$(snapshot_mountpoint ${mountable[i]})
92 if ! cmp_data $DATA $mtpt/$TESTFILE0 ; then
93 log_fail "$mtpt/$TESTFILE0 gets corrupted after rename operation."
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_001_pos.ksh74 typeset mtpt
80 mtpt=$(get_prop mountpoint ${mountable[i]})
82 mtpt=$(snapshot_mountpoint ${mountable[i]})
85 if ! cmp_data $DATA $mtpt/$TESTFILE0 ; then
86 log_fail "$mtpt/$TESTFILE0 gets corrupted after rename operation."
/freebsd/tests/sys/cddl/zfs/tests/atime/
H A Datime_001_pos.ksh69 typeset mtpt=$(get_prop mountpoint $dst)
72 mtpt=$(snapshot_mountpoint $dst)
73 log_mustnot check_atime_updated $mtpt/$TESTFILE
76 log_must check_atime_updated $mtpt/$TESTFILE
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_all_001_pos.ksh62 typeset mtpt=$4
64 setup_filesystem "$disk" "$pool" "$fs" "$mtpt"
65 log_must cp $MYTESTFILE $mtpt/$TESTFILE0
68 [[ -d $mtpt ]] && \
69 rm -rf $mtpt
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_all_001_pos.ksh69 typeset mtpt=$4
71 setup_filesystem "$disk" "$pool" "$fs" "$mtpt"
73 log_must $CP $MYTESTFILE $mtpt/$TESTFILE0
77 [[ -d $mtpt ]] && \
78 $RM -rf $mtpt

12