Searched refs:TEMPFILE (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Dzpool_001_neg.ksh48 if [ -e "$TEMPFILE" ]
50 rm -f "$TEMPFILE"
54 TEMPFILE="$TEST_BASE_DIR/zpool_001_neg.$$.txt"
59 eval "zpool > $TEMPFILE 2>&1"
60 log_must grep "usage: zpool command args" "$TEMPFILE"
62 log_must eval "awk '{if (length(\$0) > 80) exit 1}' < $TEMPFILE"
H A Dzfs_001_neg.ksh47 rm -f "$TEMPFILE"
53 TEMPFILE="$TEST_BASE_DIR/zfs_001_neg.$$.txt"
55 zfs > $TEMPFILE 2>&1
56 log_must grep "usage: zfs command args" "$TEMPFILE"
58 log_must eval "awk '{if (length(\$0) > 80) exit 1}' < $TEMPFILE"
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_expand/
H A Dzpool_expand_004_pos.ksh56 [ -e ${TEMPFILE}.$i ] && log_must rm ${TEMPFILE}.$i
66 log_must truncate -s $org_size ${TEMPFILE}.$i
69 log_must zpool create $TESTPOOL1 $type $TEMPFILE.1 \
70 $TEMPFILE.2 $TEMPFILE.3
75 log_must truncate -s $exp_size ${TEMPFILE}.$i
79 log_must zpool online -e $TESTPOOL1 ${TEMPFILE}.$i
86 non_uniform=$(zdb -lu ${TEMPFILE}.$i | \
H A Dzpool_expand_002_pos.ksh58 [ -e ${TEMPFILE}.$i ] && log_must rm ${TEMPFILE}.$i
69 log_must truncate -s $org_size ${TEMPFILE}.$i
72 log_must zpool create $TESTPOOL1 $type $TEMPFILE.1 \
73 $TEMPFILE.2 $TEMPFILE.3
86 log_must truncate -s $exp_size ${TEMPFILE}.$i
117 log_must zpool online -e $TESTPOOL1 ${TEMPFILE}.$i
183 log_must zpool replace -w $TESTPOOL1 $TEMPFILE.3 draid1-0-0
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_001_pos.ksh51 rm -rf $TEMPFILE
67 log_must file_write -o create -f $TEMPFILE \
70 [[ ! -f $TEMPFILE ]] && log_fail "Unable to create file under /var/tmp"
72 filesize=`ls -l $TEMPFILE | awk '{print $5}'`
H A Dzvol_swap_002_pos.ksh50 rm -rf $TEMPFILE
72 log_must dd if=/dev/urandom of=$TEMPFILE bs=1048576 count=$count
73 log_must rm -f $TEMPFILE
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_005_pos.ksh39 rm -f $TEMPFILE
62 log_must truncate -s 0 $TEMPFILE
72 zdb -l $TEMPFILE
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/include/
H A Ddefault.cfg.in103 export TEMPFILE=${TEST_BASE_DIR%%/}/tempfile$$

Completed in 78 milliseconds