| /freebsd/contrib/netbsd-tests/fs/cd9660/ |
| H A D | t_high_ino_big_file.sh | 68 mntpnt="" 84 mntpnt=$(pwd)/mnt 85 mkdir ${mntpnt} 86 rump_cd9660 -o norrip ./pr_48787.image ${mntpnt} 87 if [ ! -r ${mntpnt}/small_file ]; then 88 atf_fail "${mntpnt}/small_file does not exist" 90 if [ ! -r ${mntpnt}/my/large_file ]; then 91 atf_fail "${mntpnt}/my/large_file does not exist" 93 umount ${mntpnt} 94 rump_cd9660 ./pr_48787.image ${mntpnt} [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted.kshlib | 58 typeset mntpnt=$(get_prop mountpoint $sendfs) 60 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=$bs count=16 61 log_must dd if=/dev/urandom of=$mntpnt/f2 bs=$bs count=32 69 typeset mntpnt=$(get_prop mountpoint $sendfs) 72 log_must mkholes -d $((recsize - 8)):8 $mntpnt/$recsize 74 log_must dd if=/dev/urandom of=$mntpnt/$recsize bs=8 \ 84 typeset mntpnt=$(get_prop mountpoint $sendfs) 88 log_must mkholes -d 0:$((8 * M)) $mntpnt/f1 89 log_must mkholes -d 0:$M -d $((7 * M)):$M $mntpnt/f2 90 log_must mkholes -d $M:$((6 * M)) -h $((7 * M)):$M $mntpnt/f3 [all …]
|
| H A D | redacted_mixed_recsize.ksh | 36 typeset mntpnt 42 mntpnt=$(get_prop mountpoint $POOL/512) 43 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=1024k count=2 46 mntpnt=$(get_prop mountpoint $POOL/1mclone) 47 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=512 count=32 conv=notrunc 51 mntpnt=$(get_prop mountpoint $POOL/1m) 52 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=1024k count=2 55 mntpnt=$(get_prop mountpoint $POOL/512clone) 56 log_must dd if=/dev/urandom of=$mntpnt/f1 bs=512 count=32 conv=notrunc
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
| H A D | zfs_receive_010_pos.ksh | 52 typeset mntpnt=$2 55 dd if=/dev/urandom of=${mntpnt}/f$objnum bs=512 count=16 57 dd if=/dev/zero of=${mntpnt}/fh$objnum bs=512 count=5 seek=4 conv=notrunc 59 dd if=/dev/zero of=${mntpnt}/fh$objnum bs=512 count=4 seek=5 conv=notrunc 61 mkdir ${mntpnt}/d$objnum 63 touch ${mntpnt}/h$objnum 91 mntpnt=$(get_prop mountpoint $fs) 103 create_pair 8 $mntpnt $mntpnt2 "file" "file" 106 create_pair 9 $mntpnt $mntpnt2 "file" "hole1" 109 create_pair 10 $mntpnt $mntpnt2 "file" "directory" [all …]
|
| H A D | zfs_receive_003_pos.ksh | 55 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 66 mntpnt=$(get_prop mountpoint $fs) 67 log_must mkfile 10m $mntpnt/file1 69 log_must mkfile 10m $mntpnt/file2 77 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then 83 log_must rm -rf $mntpnt/file1 88 log_must rm -rf $mntpnt/file1 90 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
|
| H A D | zfs_receive_007_neg.ksh | 53 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 68 mntpnt=$(get_prop mountpoint $fs) 69 log_must mkfile 10m $mntpnt/file1 71 log_must mkfile 10m $mntpnt/file2 80 log_must mkfile 20m $mntpnt/file1 81 log_must rm -rf $mntpnt/file2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
| H A D | zpool_scrub_txg_continue_from_last.ksh | 55 log_must rm -f $mntpnt/f1 56 log_must rm -f $mntpnt/f2 64 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 66 log_must file_write -b 1048576 -c 10 -o create -d 0 -f $mntpnt/f1 82 log_must file_write -b 1048576 -c 10 -o create -d 0 -f $mntpnt/f2 90 log_must zinject -a -t data -e io -T read $mntpnt/f1 91 log_must zinject -a -t data -e io -T read $mntpnt/f2 97 log_mustnot eval "zpool status -v $TESTPOOL | grep '$mntpnt/f1'" 98 log_must eval "zpool status -v $TESTPOOL | grep '$mntpnt/f2'" 102 log_must eval "zpool status -v $TESTPOOL | grep '$mntpnt/f1'" [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/ |
| H A D | zfs_receive_003_pos.ksh | 63 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 74 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" 75 log_must $MKFILE 10m $mntpnt/file1 77 log_must $MKFILE 10m $mntpnt/file2 85 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then 91 log_must $RM -rf $mntpnt/file1 96 log_must $RM -rf $mntpnt/file1 98 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
|
| H A D | zfs_receive_007_neg.ksh | 61 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do 76 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs" 77 log_must $MKFILE 10m $mntpnt/file1 79 log_must $MKFILE 10m $mntpnt/file2 88 log_must $MKFILE 20m $mntpnt/file1 89 log_must $RM -rf $mntpnt/file2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send-wR_encrypted_zvol.ksh | 43 ismounted $mntpnt $fstype && log_must umount $mntpnt 45 [[ -d $mntpnt ]] && log_must rm -rf $keyfile 58 typeset mntpnt=$TESTDIR/$TESTVOL 82 log_must mkdir -p $mntpnt 84 log_must mount $zdev $mntpnt 87 log_must dd if=/dev/urandom of=$mntpnt/file bs=1M count=1 89 log_must cp $mntpnt/file $mntpnt/file$j 93 log_must mount $remount_ro $zdev $mntpnt 95 log_must mount $remount_rw $zdev $mntpnt 105 hash1=$(cat $mntpnt/* | xxh128digest)
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_export/ |
| H A D | zpool_export_004_pos.ksh | 66 mntpnt=$(get_prop mountpoint $TESTPOOL) 67 datasetexists $TESTPOOL1 || log_must $ZPOOL import -d $mntpnt $TESTPOOL1 72 if [[ -e $mntpnt/vdev$i ]]; then 73 log_must $RM -f $mntpnt/vdev$i 85 mntpnt=$(get_prop mountpoint $TESTPOOL) 89 log_must create_vdevs $mntpnt/vdev$i 90 eval vdev$i=$mntpnt/vdev$i 98 log_must $ZPOOL import -d $mntpnt $TESTPOOL1 103 log_must $ZPOOL import -d $mntpnt $TESTPOOL1 109 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/ |
| H A D | zfs_ids_to_path_001_pos.ksh | 54 typeset mntpnt=$(get_prop mountpoint $ds_path) 55 typeset file_id=$(ls -i /$mntpnt/$file_path | sed 's/ .*//') 57 [[ "$output" == "$mntpnt/$file_path" ]] || \ 82 typeset mntpnt=$(get_prop mountpoint $BASE) 84 log_must touch /$mntpnt/$TESTFILE1 85 log_must mkdir /$mntpnt/$TESTDIR1 86 log_must touch /$mntpnt/$TESTFILE2 87 log_must mkdir /$mntpnt/$TESTDIR2 88 log_must touch /$mntpnt/$TESTFILE3 89 log_must touch /$mntpnt/$TESTFILE4
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/ |
| H A D | dio_write_verify.ksh | 76 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 95 log_must manipulate_user_buffer -f "$mntpnt/direct-write.iso" -n $NUMBLOCKS \ 109 log_must rm -f "$mntpnt/direct-write.iso" 120 log_must manipulate_user_buffer -f "$mntpnt/direct-write.iso" \ 124 filesize=$(get_file_size "$mntpnt/direct-write.iso") 126 log_mustnot stride_dd -i "$mntpnt/direct-write.iso" -o /dev/null -b $BS \ 150 log_must rm -f "$mntpnt/direct-write.iso" 161 log_must file_write -o create -f "$mntpnt/direct-write.iso" -b $BS \ 170 log_must manipulate_user_buffer -f "$mntpnt/direct-write.iso" \ 174 filesize=$(get_file_size "$mntpnt/direct-write.iso") [all …]
|
| /freebsd/tests/sys/cddl/zfs/tests/refquota/ |
| H A D | refquota_001_pos.ksh | 73 mntpnt=$(get_prop mountpoint $fs) 75 log_mustnot $MKFILE 11M $mntpnt/file 76 log_must $MKFILE 9M $mntpnt/file 78 log_mustnot $MKFILE 2M $mntpnt/file2 80 mntpnt=$(get_prop mountpoint $sub) 81 log_must $MKFILE 10M $mntpnt/file 83 log_must $MKFILE 10 $mntpnt/file2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refquota/ |
| H A D | refquota_001_pos.ksh | 65 mntpnt=$(get_prop mountpoint $fs) 67 log_mustnot mkfile 11M $mntpnt/file 68 log_must mkfile 9M $mntpnt/file 70 log_mustnot mkfile 2M $mntpnt/file2 72 mntpnt=$(get_prop mountpoint $sub) 73 log_must mkfile 10M $mntpnt/file 75 log_must mkfile 10 $mntpnt/file2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_export/ |
| H A D | zpool_export_004_pos.ksh | 57 mntpnt=$TESTDIR0 58 log_must mkdir -p $mntpnt 64 log_must truncate -s $MINVDEVSIZE $mntpnt/vdev$i 65 eval vdev$i=$mntpnt/vdev$i 73 log_must zpool import -d $mntpnt $TESTPOOL1 78 log_must zpool import -d $mntpnt $TESTPOOL1 84 log_must zpool import -d $mntpnt $TESTPOOL1
|
| /freebsd/tests/sys/cddl/zfs/tests/cachefile/ |
| H A D | cachefile_004_pos.ksh | 66 mntpnt=$(get_prop mountpoint $TESTPOOL) 69 if [[ -e $mntpnt/vdev$i ]]; then 70 log_must $RM -f $mntpnt/vdev$i 90 mntpnt=$(get_prop mountpoint $TESTPOOL) 93 log_must create_vdevs $mntpnt/vdev$i 94 eval vdev$i=$mntpnt/vdev$i 117 log_must $ZPOOL import -d $mntpnt $TESTPOOL1 120 log_must $ZPOOL import -d $mntpnt $TESTPOOL2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_send/ |
| H A D | zfs_send_007_pos.ksh | 60 mntpnt=$(get_prop mountpoint "$POOL/fs") 61 log_must eval "dd if=/dev/urandom of=${mntpnt}/file bs=512 count=1 2>/dev/null" 62 object=$(ls -i $mntpnt | awk '{print $1}') 65 log_must find $mntpnt/ -type f -delete 67 log_must mkfiles "$mntpnt/" 4000 70 object=$(ls -i $mntpnt | sort -n | awk -v object=$object \ 73 dd if=/dev/urandom of=${mntpnt}/$FILE bs=512 count=1 seek=1 2>/dev/null 84 log_must directory_diff $mntpnt $recv_mntpnt
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cachefile/ |
| H A D | cachefile_004_pos.ksh | 59 mntpnt=$(get_prop mountpoint $TESTPOOL) 62 if [[ -e $mntpnt/vdev$i ]]; then 63 log_must rm -f $mntpnt/vdev$i 85 mntpnt=$(get_prop mountpoint $TESTPOOL) 88 log_must mkfile $MINVDEVSIZE $mntpnt/vdev$i 89 eval vdev$i=$mntpnt/vdev$i 112 log_must zpool import -d $mntpnt $TESTPOOL1 115 log_must zpool import -d $mntpnt $TESTPOOL2
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount_008_pos.ksh | 76 mntpnt=$(get_prop mountpoint $fs) 80 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1 84 log_must $ZFS set mountpoint=$mntpnt $fs1 88 log_must $MKFILE 1M $mntpnt/$TESTFILE2 92 log_must $LS $mntpnt/$TESTFILE1 $mntpnt/$TESTFILE2 101 log_mustnot $LS $mntpnt/$TESTFILE2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_008_pos.ksh | 66 mntpnt=$(get_prop mountpoint $fs) 70 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1 74 log_must zfs set mountpoint=$mntpnt $fs1 80 log_must mkfile 1M $mntpnt/$TESTFILE2 84 log_must ls $mntpnt/$TESTFILE1 $mntpnt/$TESTFILE2 93 log_mustnot ls $mntpnt/$TESTFILE2
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/deadman/ |
| H A D | deadman_zio.ksh | 71 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 72 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file1 73 log_must file_write -b 1048576 -c 8 -o create -d 0 -f $mntpnt/file2 76 log_must stat -t /$mntpnt/file1 77 log_must stat -t /$mntpnt/file2 84 log_must eval "dd if=/$mntpnt/file1 of=/dev/null bs=1048576 &" 103 log_must eval "dd if=/$mntpnt/file2 of=/dev/null bs=1048576 &"
|
| /freebsd/tests/sys/cddl/zfs/tests/snapshot/ |
| H A D | snapshot_015_pos.ksh | 81 mntpnt=$(get_prop mountpoint $fs) 82 snapdir=$mntpnt/.zfs 97 testfile=$mntpnt/testfile.$cnt 99 log_must $MKDIR $mntpnt/$(get_snapdir_name)/snap.$cnt 113 testfile=$mntpnt/testfile.$i 128 log_must $RMDIR $mntpnt/$(get_snapdir_name)/snap.$cnt
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
| H A D | history_001_pos.ksh | 62 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")
|
| /freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
| H A D | zfs_acl_chmod_002_pos.ksh | 69 mntpnt=$(get_prop mountpoint $ACL_UPGRADE_FS) 70 log_must $MKDIR $mntpnt/dir.${TESTCASE_ID} 71 log_must $CHMOD A+owner@:rwxp:f:allow,group@:rwxp:f:allow $mntpnt/dir.${TESTCASE_ID} 73 log_must $TOUCH $mntpnt/dir.${TESTCASE_ID}/file.${TESTCASE_ID} 74 log_must eval "$LS -V $mntpnt/dir.${TESTCASE_ID}/file.${TESTCASE_ID} > /dev/null 2>&1"
|