| /freebsd-12.1/tests/sys/cddl/zfs/tests/snapshot/ |
| H A D | rollback_003_pos.ksh | 77 for fs in "$TESTPOOL/$TESTFILE/$TESTFILE.1" "$TESTPOOL/$TESTFILE" 96 log_must $TOUCH /$TESTPOOL/$TESTFILE 99 log_must $ZFS create $TESTPOOL/$TESTFILE 104 log_must $ZFS snapshot $TESTPOOL/$TESTFILE@$TESTSNAP 110 log_must $TOUCH /$TESTPOOL/$TESTFILE/$TESTFILE.1
|
| H A D | snapshot_001_pos.ksh | 84 log_must $FILE_WRITE -o create -f $TESTDIR/$TESTFILE -b $BLOCKSZ \ 88 FILE_SUM=`$SUM -r $TESTDIR/$TESTFILE | $AWK '{ print $1 }'` 95 log_must $FILE_WRITE -o append -f $TESTDIR/$TESTFILE -b $BLOCKSZ \ 98 SNAP_FILE_SUM=`$SUM -r $SNAPDIR/$TESTFILE | $AWK '{ print $1 }'`
|
| H A D | snapshot_005_pos.ksh | 83 log_must $FILE_WRITE -o create -f $TESTDIR1/$TESTFILE -b $BLOCKSZ \ 87 FILE_SUM=`$SUM -r $TESTDIR1/$TESTFILE | $AWK '{ print $1 }'` 94 log_must $FILE_WRITE -o append -f $TESTDIR1/$TESTFILE -b $BLOCKSZ \ 97 SNAP_FILE_SUM=`$SUM -r $SNAPDIR1/$TESTFILE | $AWK '{ print $1 }'`
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
| H A D | t_fileactions.c | 106 make_testfile(TESTFILE); in ATF_TC_BODY() 111 TESTFILE, O_RDONLY, 0); in ATF_TC_BODY() 124 insize = filesize(TESTFILE); in ATF_TC_BODY() 132 make_testfile(TESTFILE); in ATF_TC_BODY() 137 TESTFILE, O_RDONLY, 0); in ATF_TC_BODY() 150 insize = filesize(TESTFILE); in ATF_TC_BODY() 158 make_testfile(TESTFILE); in ATF_TC_BODY() 163 TESTFILE, O_RDONLY, 0); in ATF_TC_BODY() 176 insize = filesize(TESTFILE); in ATF_TC_BODY() 357 make_testfile(TESTFILE); in ATF_TC_BODY() [all …]
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/scrub_mirror/ |
| H A D | scrub_mirror_common.kshlib | 45 if [ -f ${TESTDIR}/0/${TESTFILE}.${atfile} ]; then 46 cksums[$atfile]=$($CKSUM ${TESTDIR}/0/${TESTFILE}.${atfile}) 66 if [ -f ${TESTDIR}/0/${TESTFILE}.${atfile} ]; then 67 newcksum=$($CKSUM $TESTDIR/0/${TESTFILE}.${atfile}) 71 log_note "${TESTFILE}.${atfile} checksums match:"\
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/truncate/ |
| H A D | truncate_002_pos.ksh | 71 log_note "Copying $srcfilename to $TESTFILE" 72 log_must $CP $srcfilename ${TESTDIR}/${TESTFILE} 74 log_note "Copying /dev/null to $TESTFILE" 75 log_must $CP /dev/null ${TESTDIR}/${TESTFILE}
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/zvol/zvol_swap/ |
| H A D | zvol_swap_003_pos.ksh | 68 if [[ -f $TMPDIR/$TESTFILE ]]; then 69 log_must $RM -rf $TMPDIR/$TESTFILE 152 log_must $FILE_WRITE -o create -f $TMPDIR/$TESTFILE \ 155 [[ ! -f $TMPDIR/$TESTFILE ]] && 158 filesize=`$LS -l $TMPDIR/$TESTFILE | $AWK '{print $5}'`
|
| H A D | zvol_swap_001_pos.ksh | 64 $RM -rf $TMPDIR/$TESTFILE 82 log_must $FILE_WRITE -o create -f $TMPDIR/$TESTFILE \ 85 [[ ! -f $TMPDIR/$TESTFILE ]] && 88 filesize=`$LS -l $TMPDIR/$TESTFILE | $AWK '{print $5}'`
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/refquota/ |
| H A D | refquota_002_pos.ksh | 77 log_mustnot $MKFILE 20M $mntpnt/$TESTFILE 90 [ -f $mntpnt/$TESTFILE ] && log_must $RM $mntpnt/$TESTFILE 94 log_mustnot $MKFILE 20M $mntpnt/$TESTFILE
|
| H A D | refquota_004_pos.ksh | 77 log_must $MKFILE 7M $mntpnt/$TESTFILE.$i 79 log_must $RM $mntpnt/$TESTFILE.$i 87 log_mustnot $MKFILE 7M $mntpnt/$TESTFILE
|
| H A D | refquota_005_pos.ksh | 78 log_must $MKFILE 7M $mntpnt/$TESTFILE.$i 80 log_must $RM $mntpnt/$TESTFILE.$i 88 log_mustnot $MKFILE 7M $mntpnt/$TESTFILE
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/threadsappend/ |
| H A D | threadsappend_001_pos.ksh | 85 log_must threadsappend ${TESTDIR}/${TESTFILE} 90 SIZE=`$LS -l ${TESTDIR}/${TESTFILE} | $AWK '{print $5}'` 92 log_fail "'The length of ${TESTDIR}/${TESTFILE}' doesnt equal 1310720."
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/utils_test/ |
| H A D | utils_test_003_pos.ksh | 69 populate_dir $TESTDIR/$TESTFILE $NUM_FILES $WRITE_COUNT $BLOCKSZ $DATA 70 inode_num=`$LS -li $TESTDIR/$TESTFILE.0 | $AWK '{print $1}'` 72 log_fail "Failed to determine inode of file: $TESTDIR/$TESTFILE.0"
|
| H A D | utils_test_001_pos.ksh | 69 populate_dir $TESTDIR/$TESTFILE $NUM_FILES $WRITE_COUNT $BLOCKSZ $DATA 71 inode=`$LS -i $TESTDIR/$TESTFILE.0 | $AWK '{print $1}'`
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/mmap/ |
| H A D | mmap_write_001_pos.ksh | 73 $MMAPWRITE $TESTDIR/$TESTFILE & 75 log_note "$MMAPWRITE $TESTDIR/$TESTFILE pid: $PID_MMAPWRITE" 91 log_must $LS -l $TESTDIR/$TESTFILE
|
| /freebsd-12.1/contrib/netbsd-tests/rump/rumpvfs/ |
| H A D | t_p2kifs.c | 53 #define TESTFILE "testi" macro 58 char pathstr[MAXPATHLEN] = TESTFILE; in ATF_TC_BODY() 68 RL(rump_sys_mkdir("/" TESTFILE, 0777)); in ATF_TC_BODY()
|
| H A D | t_basic.c | 52 #define TESTFILE "testi" macro 63 RL(fd = rump_sys_open(TESTFILE, O_RDWR | O_CREAT, 0777)); in ATF_TC_BODY()
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/refreserv/ |
| H A D | refreserv_003_pos.ksh | 77 log_must $MKFILE 7M $mntpnt/$TESTFILE 80 log_must $MKFILE 7M $mntpnt/$TESTFILE.2 83 log_must $MKFILE 7M $mntpnt/$TESTFILE.3
|
| H A D | refreserv_001_pos.ksh | 79 log_mustnot $MKFILE 15M $mntpnt/$TESTFILE 81 log_must $RM -f $mntpnt/$TESTFILE 85 log_mustnot $MKFILE 15M $mntpnt/$TESTFILE
|
| /freebsd-12.1/tools/test/sort/regression/ |
| H A D | Makefile | 3 TESTFILE= test01 test02 test03 test04 test05 test06 test07 test08 \ macro 16 .for f in ${TESTFILE} 22 .for f in ${TESTFILE}
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/migration/ |
| H A D | migration.cfg | 60 export TESTFILE=/etc/passwd 62 tmp=`$SUM $TESTFILE` 66 export BNAME=`$BASENAME $TESTFILE` 67 export DNAME=`$DIRNAME $TESTFILE`
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/hotspare/ |
| H A D | hotspare_onoffline_004_neg.ksh | 91 $FILE_TRUNC $options $TESTDIR/$TESTFILE.$i & 113 [ -s "$TESTDIR/$TESTFILE.$i" ] && break 119 log_must test -s $TESTDIR/$TESTFILE.$i
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/large_files/ |
| H A D | large_files_001_pos.ksh | 64 log_note "Invoke 'largest_file' with $TESTDIR/$TESTFILE" 65 log_must $LARGEST_FILE $TESTDIR/$TESTFILE
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/acl/cifs/ |
| H A D | cifs_attr_003_pos.ksh | 225 $CP $TESTFILE $object 246 $CP $TESTFILE $object 278 for target in $object/${TESTFILE##*/} $object/$TESTDIR ; do 321 $RUNAT $object "$CP $TESTFILE $TESTATTR" 581 TESTFILE=$TMPDIR/tfile 595 $ECHO "$TESTSTR" > $TESTFILE
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/atime/ |
| H A D | atime_001_pos.ksh | 78 log_mustnot check_atime_updated $mtpt/$TESTFILE 81 log_must check_atime_updated $mtpt/$TESTFILE
|