| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted.kshlib | 119 log_must mkdir $mntpnt/d1 120 log_must eval "cat $mntpnt/f1 $mntpnt/f2 >$mntpnt/d1/f1" 124 mntpnt=$(get_prop mountpoint $POOL/hole) 142 mntpnt=$(get_prop mountpoint $POOL/rm) 143 log_must rm -rf $mntpnt/[df][12] 147 mntpnt=$(get_prop mountpoint $POOL/write) 159 log_must touch $mntpnt/empty 162 log_must mkdir $mntpnt/dir1 163 log_must touch $mntpnt/dir1/empty 166 log_must mkdir $mntpnt/dir1/dir2 [all …]
|
| H A D | redacted_mixed_recsize.ksh | 35 typeset mntpnt 41 mntpnt=$(get_prop mountpoint $POOL/512) 42 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=1024k count=2 45 mntpnt=$(get_prop mountpoint $POOL/1mclone) 46 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=512 count=32 conv=notrunc 50 mntpnt=$(get_prop mountpoint $POOL/1m) 51 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=1024k count=2 54 mntpnt=$(get_prop mountpoint $POOL/512clone) 55 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=512 count=32 conv=notrunc
|
| H A D | redacted_compressed.ksh | 61 typeset mntpnt=$(get_prop mountpoint $POOL2) 62 log_must diff $clone_mnt/f1 $mntpnt/inc1/f1 63 log_must diff $send_mnt/f2 $mntpnt/inc1/f2 68 log_must diff $clone_mnt/f1 $mntpnt/inc1/f1 69 [[ -f $mntpnt/inc2/f2 ]] && log_fail "File f2 should not exist."
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
| H A D | zfs_receive_010_pos.ksh | 51 typeset mntpnt=$2 60 mkdir ${mntpnt}/d$objnum 62 touch ${mntpnt}/h$objnum 90 mntpnt=$(get_prop mountpoint $fs) 102 create_pair 8 $mntpnt $mntpnt2 "file" "file" 105 create_pair 9 $mntpnt $mntpnt2 "file" "hole1" 111 create_pair 11 $mntpnt $mntpnt2 "file" "missing" 114 create_pair 12 $mntpnt $mntpnt2 "hole1" "hole2" 120 create_pair 14 $mntpnt $mntpnt2 "hole1" "missing" 137 rm $mntpnt/h17 [all …]
|
| H A D | zfs_receive_003_pos.ksh | 54 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 65 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" 66 log_must mkfile 10m $mntpnt/file1 68 log_must mkfile 10m $mntpnt/file2 76 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then 82 log_must rm -rf $mntpnt/file1 87 log_must rm -rf $mntpnt/file1 89 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
|
| H A D | zfs_receive_007_neg.ksh | 52 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 67 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" 68 log_must mkfile 10m $mntpnt/file1 70 log_must mkfile 10m $mntpnt/file2 79 log_must mkfile 20m $mntpnt/file1 80 log_must rm -rf $mntpnt/file2
|
| H A D | zfs_receive_006_pos.ksh | 56 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do 85 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" 86 log_must mkfile 10m $mntpnt/file1 88 log_must mkfile 10m $mntpnt/file2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
| H A D | zpool_export_004_pos.ksh | 55 mntpnt=$TESTDIR0 61 if [[ -e $mntpnt/vdev$i ]]; then 62 log_must rm -f $mntpnt/vdev$i 66 log_must rmdir $mntpnt 73 mntpnt=$TESTDIR0 74 log_must mkdir -p $mntpnt 80 log_must truncate -s $MINVDEVSIZE $mntpnt/vdev$i 81 eval vdev$i=$mntpnt/vdev$i 89 log_must zpool import -d $mntpnt $TESTPOOL1 94 log_must zpool import -d $mntpnt $TESTPOOL1 [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send-wR_encrypted_zvol.ksh | 42 ismounted $mntpnt $fstype && log_must umount $mntpnt 44 [[ -d $mntpnt ]] && log_must rm -rf $keyfile 57 typeset mntpnt=$TESTDIR/$TESTVOL 81 log_must mkdir -p $mntpnt 83 log_must mount $zdev $mntpnt 86 log_must dd if=/dev/urandom of=$mntpnt/file bs=1M count=1 88 log_must cp $mntpnt/file $mntpnt/file$j 92 log_must mount $remount_ro $zdev $mntpnt 94 log_must mount $remount_rw $zdev $mntpnt 104 md5_1=$(cat $mntpnt/* | md5digest)
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/ |
| H A D | zfs_ids_to_path_001_pos.ksh | 53 typeset mntpnt=$(get_prop mountpoint $ds_path) 54 typeset file_id=$(ls -i /$mntpnt/$file_path | sed 's/ .*//') 56 [[ "$output" == "$mntpnt/$file_path" ]] || \ 81 typeset mntpnt=$(get_prop mountpoint $BASE) 83 log_must touch /$mntpnt/$TESTFILE1 84 log_must mkdir /$mntpnt/$TESTDIR1 85 log_must touch /$mntpnt/$TESTFILE2 86 log_must mkdir /$mntpnt/$TESTDIR2 87 log_must touch /$mntpnt/$TESTFILE3 88 log_must touch /$mntpnt/$TESTFILE4
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/refquota/ |
| H A D | refquota_001_pos.ksh | 64 mntpnt=$(get_prop mountpoint $fs) 66 log_mustnot mkfile 11M $mntpnt/file 67 log_must mkfile 9M $mntpnt/file 69 log_mustnot mkfile 2M $mntpnt/file2 71 mntpnt=$(get_prop mountpoint $sub) 72 log_must mkfile 10M $mntpnt/file 74 log_must mkfile 10 $mntpnt/file2
|
| H A D | refquota_004_pos.ksh | 61 mntpnt=$(get_prop mountpoint $fs) 64 log_must mkfile 7M $mntpnt/$TESTFILE.$i 66 log_must rm $mntpnt/$TESTFILE.$i 74 log_mustnot mkfile 7M $mntpnt/$TESTFILE
|
| H A D | refquota_005_pos.ksh | 62 mntpnt=$(get_prop mountpoint $fs/subfs) 65 log_must mkfile 7M $mntpnt/$TESTFILE.$i 67 log_must rm $mntpnt/$TESTFILE.$i 75 log_mustnot mkfile 7M $mntpnt/$TESTFILE
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/ |
| H A D | cachefile_004_pos.ksh | 58 mntpnt=$(get_prop mountpoint $TESTPOOL) 61 if [[ -e $mntpnt/vdev$i ]]; then 62 log_must rm -f $mntpnt/vdev$i 84 mntpnt=$(get_prop mountpoint $TESTPOOL) 87 log_must mkfile $MINVDEVSIZE $mntpnt/vdev$i 88 eval vdev$i=$mntpnt/vdev$i 111 log_must zpool import -d $mntpnt $TESTPOOL1 114 log_must zpool import -d $mntpnt $TESTPOOL2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_008_pos.ksh | 67 mntpnt=$(get_prop mountpoint $fs) 71 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1 75 log_must zfs set mountpoint=$mntpnt $fs1 81 log_must mkfile 1M $mntpnt/$TESTFILE2 85 log_must ls $mntpnt/$TESTFILE1 $mntpnt/$TESTFILE2 94 log_mustnot ls $mntpnt/$TESTFILE2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/deadman/ |
| H A D | deadman_zio.ksh | 70 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 71 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file1 72 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file2 75 log_must stat -t /$mntpnt/file1 76 log_must stat -t /$mntpnt/file2 83 log_must eval "dd if=/$mntpnt/file1 of=/dev/null bs=1048576 &" 102 log_must eval "dd if=/$mntpnt/file2 of=/dev/null bs=1048576 &"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
| H A D | zfs_send_007_pos.ksh | 59 mntpnt=$(get_prop mountpoint "$POOL/fs") 60 log_must dd if=/dev/urandom of=${mntpnt}/file bs=512 count=1 2>/dev/null 61 object=$(ls -i $mntpnt | awk '{print $1}') 64 log_must find $mntpnt/ -type f -delete 66 log_must mkfiles "$mntpnt/" 4000 69 object=$(ls -i $mntpnt | sort -n | awk -v object=$object \ 75 dd if=/dev/urandom of=${mntpnt}/$FILE bs=512 count=1 seek=1 2>/dev/null 86 log_must diff -r $mntpnt $recv_mntpnt
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
| H A D | history_001_pos.ksh | 61 mntpnt=$(get_prop mountpoint $TESTPOOL) 63 VDEV1=$mntpnt/vdev1; VDEV2=$mntpnt/vdev2; 64 VDEV3=$mntpnt/vdev3; VDEV4=$mntpnt/vdev4; 83 commands=("zpool export $MPOOL" "zpool import -d $mntpnt $MPOOL" 84 "zpool destroy $MPOOL" "zpool import -D -f -d $mntpnt $MPOOL")
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_resilver/ |
| H A D | zpool_resilver_restart.ksh | 49 log_must rm -f $mntpnt/biggerfile1 50 log_must rm -f $mntpnt/biggerfile2 57 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 60 log_must file_write -b 524288 -c 1024 -o create -d 0 -f $mntpnt/biggerfile1 65 log_must file_write -b 524288 -c 1024 -o create -d 0 -f $mntpnt/biggerfile2
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/io/ |
| H A D | libaio.ksh | 44 log_must rm -f "$mntpnt/rw*" 52 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 53 dir="--directory=$mntpnt" 62 log_must rm -f "$mntpnt/rw*"
|
| H A D | posixaio.ksh | 44 log_must rm -f "$mntpnt/rw*" 52 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 53 dir="--directory=$mntpnt" 62 log_must rm -f "$mntpnt/rw*"
|
| H A D | sync.ksh | 44 log_must rm -f "$mntpnt/rw*" 52 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 53 dir="--directory=$mntpnt" 62 log_must rm -f "$mntpnt/rw*"
|
| H A D | mmap.ksh | 48 log_must rm -f "$mntpnt/rw*" 56 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 57 dir="--directory=$mntpnt" 66 log_must rm -f "$mntpnt/rw*"
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/ |
| H A D | refreserv_003_pos.ksh | 63 mntpnt=$(get_prop mountpoint $fs) 64 log_must mkfile 7M $mntpnt/$TESTFILE 67 log_must mkfile 7M $mntpnt/$TESTFILE.2 70 log_must mkfile 7M $mntpnt/$TESTFILE.3
|
| H A D | refreserv_001_pos.ksh | 65 mntpnt=$(get_prop mountpoint $fs) 66 log_mustnot mkfile 15M $mntpnt/$TESTFILE 68 log_must rm -f $mntpnt/$TESTFILE 72 log_mustnot mkfile 15M $mntpnt/$TESTFILE
|