Searched refs:TESTFILE (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend_001_pos.ksh57 TESTFILE='testfile-threadsappend'
69 # zfs_threadsappend tries to append to $TESTFILE using threads
72 log_must $THREADSAPPEND ${TESTDIR}/${TESTFILE}
77 SIZE=`ls -l ${TESTDIR}/${TESTFILE} | awk '{print $5}'`
79 log_fail "'The length of ${TESTDIR}/${TESTFILE}' doesnt equal 1310720."
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Drollback_003_pos.ksh67 for fs in "$TESTPOOL/$TESTFILE/$TESTFILE.1" "$TESTPOOL/$TESTFILE"
86 log_must touch /$TESTPOOL/$TESTFILE
89 log_must zfs create $TESTPOOL/$TESTFILE
94 log_must zfs snapshot $TESTPOOL/$TESTFILE@$TESTSNAP
102 log_must touch /$TESTPOOL/$TESTFILE/$TESTFILE.1
H A Dsnapshot_001_pos.ksh72 log_must file_write -o create -f $TESTDIR/$TESTFILE -b $BLOCKSZ \
76 FILE_SUM=`sum -r $TESTDIR/$TESTFILE | awk '{ print $1 }'`
83 log_must file_write -o append -f $TESTDIR/$TESTFILE -b $BLOCKSZ \
86 SNAP_FILE_SUM=`sum -r $SNAPDIR/$TESTFILE | awk '{ print $1 }'`
H A Dsnapshot_005_pos.ksh71 log_must file_write -o create -f $TESTDIR1/$TESTFILE -b $BLOCKSZ \
75 FILE_SUM=`sum -r $TESTDIR1/$TESTFILE | awk '{ print $1 }'`
82 log_must file_write -o append -f $TESTDIR1/$TESTFILE -b $BLOCKSZ \
85 SNAP_FILE_SUM=`sum -r $SNAPDIR1/$TESTFILE | awk '{ print $1 }'`
H A Dsnapshot_014_pos.ksh66 log_must mkfile $FILESIZE $TESTDIR1/$TESTFILE
76 log_must rm $TESTDIR1/$TESTFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refquota/
H A Drefquota_004_pos.ksh56 TESTFILE='testfile'
64 log_must mkfile 7M $mntpnt/$TESTFILE.$i
66 log_must rm $mntpnt/$TESTFILE.$i
74 log_mustnot mkfile 7M $mntpnt/$TESTFILE
H A Drefquota_005_pos.ksh56 TESTFILE='testfile'
65 log_must mkfile 7M $mntpnt/$TESTFILE.$i
67 log_must rm $mntpnt/$TESTFILE.$i
75 log_mustnot mkfile 7M $mntpnt/$TESTFILE
H A Drefquota_002_pos.ksh58 TESTFILE='testfile'
64 log_mustnot mkfile 20M $mntpnt/$TESTFILE
77 log_must rm $mntpnt/$TESTFILE
81 log_mustnot mkfile 20M $mntpnt/$TESTFILE
H A Drefquota_003_pos.ksh56 TESTFILE='testfile'
63 log_must mkfile 20M $mntpnt/$TESTFILE
74 log_mustnot mkfile 20M $mntpnt/$TESTFILE.2
/illumos-gate/usr/src/test/zfs-tests/tests/functional/truncate/
H A Dtruncate_002_pos.ksh59 log_must cp $srcfile $TESTDIR/$TESTFILE
60 log_must cp /dev/null $TESTDIR/$TESTFILE
62 if [[ -s $TESTDIR/$TESTFILE ]]; then
63 log_note "$(ls -l $TESTDIR/$TESTFILE)"
H A Dtruncate_001_pos.ksh74 log_must file_trunc $options $TESTDIR/$TESTFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_001_pos.ksh51 rm -rf /tmp/$TESTFILE
67 log_must file_write -o create -f /tmp/$TESTFILE \
70 [[ ! -f /tmp/$TESTFILE ]] &&
73 filesize=`ls -l /tmp/$TESTFILE | awk '{print $5}'`
H A Dzvol_swap_002_pos.ksh60 log_must dd if=/dev/urandom of=/tmp/$TESTFILE bs=1048576 count=$count
61 log_must rm -f /tmp/$TESTFILE
H A Dzvol_swap_003_pos.ksh51 [[ -f /tmp/$TESTFILE ]] && log_must rm -f /tmp/$TESTFILE
85 log_must file_write -o create -f /tmp/$TESTFILE \
88 [[ ! -f /tmp/$TESTFILE ]] &&
91 filesize=`ls -l /tmp/$TESTFILE | awk '{print $5}'`
/illumos-gate/usr/src/test/zfs-tests/tests/functional/utils_test/
H A Dutils_test_003_pos.ksh57 inode_num=`ls -li $TESTDIR/$TESTFILE.0 | awk '{print $1}'`
59 log_fail "Failed to determine inode of file: $TESTDIR/$TESTFILE.0"
H A Dutils_test.kshlib47 -f $TESTDIR/$TESTFILE.$filenum -b $BLOCKSZ -d $DATA
H A Dutils_test_001_pos.ksh58 inode=`ls -i $TESTDIR/$TESTFILE.0 | awk '{print $1}'`
/illumos-gate/usr/src/test/zfs-tests/tests/functional/atime/
H A Datime_001_pos.ksh41 # 2. Create '$TESTFILE' for fs.
43 # 4. Setting atime=on on datasets except snapshot, and read '$TESTFILE'.
53 # Create $TESTFILE, snapshot and clone.
63 log_mustnot check_atime_updated $mtpt/$TESTFILE
66 log_must check_atime_updated $mtpt/$TESTFILE
H A Datime_common.kshlib61 log_must touch $TESTDIR/$TESTFILE
H A Datime_002_neg.ksh41 # 2. Create '$TESTFILE' for fs.
43 # 4. Setting atime=off on dataset and read '$TESTFILE'.
54 # Create $TESTFILE, snapshot and clone.
68 log_mustnot check_atime_updated $mtpt/$TESTFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_001_pos.ksh66 log_mustnot mkfile 15M $mntpnt/$TESTFILE
68 log_must rm -f $mntpnt/$TESTFILE
72 log_mustnot mkfile 15M $mntpnt/$TESTFILE
H A Drefreserv_003_pos.ksh64 log_must mkfile 7M $mntpnt/$TESTFILE
67 log_must mkfile 7M $mntpnt/$TESTFILE.2
70 log_must mkfile 7M $mntpnt/$TESTFILE.3
H A Drefreserv_004_pos.ksh79 log_must mkfile $avail $mntpnt/$TESTFILE
84 log_mustnot mkfile $avail $mntpnt/$TESTFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/sparse/
H A Dsparse_001_pos.ksh75 log_must file_trunc $options $TESTDIR/$TESTFILE
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/cifs/
H A Dcifs_attr_003_pos.ksh84 [[ -f $TESTFILE ]] && rm $TESTFILE
205 cp $TESTFILE $object
226 cp $TESTFILE $object
258 for target in $object/${TESTFILE##*/} $object/$TESTDIR ; do
301 runat $object "cp $TESTFILE $TESTATTR"
561 TESTFILE=/tmp/tfile
575 echo "$TESTSTR" > $TESTFILE

Completed in 123 milliseconds

12