Searched refs:tmpfile (Results 1 - 25 of 81) sorted by relevance

1234

/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.freopen.ksh30 $dtrace -wq -o $tmpfile -s /dev/stdin $tmpfile <<EOF
56 if [ -f $tmpfile ]; then
57 rm $tmpfile
61 if [ -f $tmpfile.$i ]; then
62 rm $tmpfile.$i
74 tmpfile=/tmp/tst.freopen.$$
82 if [ -f $tmpfile.$iter ]; then
83 echo "$0: did not expect to find file: $tmpfile.$iter"
88 mv $tmpfile
[all...]
H A Dtst.ftruncate.ksh30 $dtrace -q -o $tmpfile -s /dev/stdin <<EOF
56 tmpfile=/tmp/tst.ftruncate.$$
61 cat $tmpfile
62 rm $tmpfile
H A Dtst.badfreopen.ksh30 $dtrace -wq -o $tmpfile -s /dev/stdin 2> $errfile <<EOF
75 tmpfile=/tmp/tst.badfreopen.$$
82 i=`cat $tmpfile`
85 echo "$0: unexpected contents in $tmpfile: " \
100 rm $tmpfile $errfile
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/
H A Dzpool_iostat_002_pos.ksh46 typeset tmpfile=$TEST_BASE_DIR/zfsiostat.out.$$
51 if [[ -f $tmpfile ]]; then
52 rm -f $tmpfile
63 zpool iostat $TESTPOOL 1 4 > $tmpfile 2>&1 &
65 stat_count=$(grep -c $TESTPOOL $tmpfile)
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zpool_influxdb/
H A Dzpool_influxdb.ksh29 typeset tmpfile=$TEST_BASE_DIR/zpool_influxdb.out.$$
32 if [[ -f $tmpfile ]]; then
33 rm -f $tmpfile
46 log_must grep -q "^${1}," $tmpfile
50 log_must eval "zpool_influxdb > $tmpfile"
65 log_must eval "zpool_influxdb > $tmpfile"
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rootpool/
H A Drootpool_002_neg.ksh51 typeset tmpfile="$TEST_BASE_DIR/mounted-datasets.$$"
57 mount -p | awk '$4 == "zfs" {print $1}' > $tmpfile
64 done < $tmpfile
65 rm -f $tmpfile
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_backup.ksh23 tmpfile=$TEST_BASE_DIR/tmpfile
28 rm $tmpfile.1 $tmpfile.2
47 log_must eval "zfs send -ecL $snap > $tmpfile.1"
48 log_must eval "zdb -B $TESTPOOL/$objsetid ecL > $tmpfile.2"
50 typeset sum1=$(cat $tmpfile.1 | md5sum)
51 typeset sum2=$(cat $tmpfile.2 | md5sum)
H A Dzdb_002_pos.ksh35 typeset tmpfile="$TEST_BASE_DIR/zdb-feature-mismatch"
39 grep "$errstr" $tmpfile
40 rm -f $tmpfile
45 log_must eval "zdb $TESTPOOL >$tmpfile"
46 grep -q "$errstr" $tmpfile && \
H A Dzdb_recover.ksh36 rm $tmpfile
42 tmpfile="$TEST_BASE_DIR/zdb-recover"
52 output=$(zdb -r $TESTPOOL/$TESTFS file1 $tmpfile)
53 log_must cmp $init_data $tmpfile
H A Dzdb_recover_2.ksh37 rm $tmpfile
43 tmpfile="$TEST_BASE_DIR/zdb-recover"
54 output=$(zdb -r $TESTPOOL/$TESTFS file1 $tmpfile)
55 log_must cmp $init_data $tmpfile
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_003_pos.ksh47 if [[ -f $tmpfile ]]; then
48 rm -f $tmpfile
57 tmpfile=$TEST_BASE_DIR/zfslist.out.$$
67 zfs list -rH -o name $path > $tmpfile
69 log_must grep -qxF "$fs" $tmpfile
/freebsd-current/tests/sys/cddl/zfs/tests/cli_user/zpool_iostat/
H A Dzpool_iostat_002_pos.ksh55 typeset tmpfile=$TMPDIR/zfsiostat.out.${TESTCASE_ID}
60 if [[ -f $tmpfile ]]; then
61 $RM -f $tmpfile
72 run_unprivileged $ZPOOL iostat $TESTPOOL 2 3 > $tmpfile 2>&1
73 stat_count=$($GREP $TESTPOOL $tmpfile | $WC -l)
/freebsd-current/contrib/unbound/contrib/
H A Dupdate-anchor.sh57 tmpfile="/tmp/update-anchor.$$"
58 tmp2=$tmpfile.2
59 tmp3=$tmpfile.3
65 $ubhost -v $rh $filearg "$keyfile" -t DNSKEY "$zonename" >$tmpfile
67 rm -f $tmpfile
75 if grep '(secure)$' $tmpfile >/dev/null 2>&1; then
78 rm -f $tmpfile
88 if grep ' has DNSKEY record 257' $tmpfile >/dev/null 2>&1; then
90 grep '(secure)$' $tmpfile | \
97 grep '(secure)$' $tmpfile | \
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/
H A Dtst.manypids.ksh46 tmpfile=/tmp/dtest.$$
58 echo "tick-1sec\n{\n\texit(0);\n}\n" > $tmpfile
61 echo "pid${pids[$i]}::malloc:entry\n{}\n" >> $tmpfile
65 $dtrace -s $tmpfile
68 rm $tmpfile
/freebsd-current/include/
H A Dmk-osreldate.sh34 tmpfile=$(mktemp osreldate.XXXXXXXX)
35 trap "rm -f $tmpfile" EXIT
43 cat > $tmpfile <<EOF
52 chmod 644 $tmpfile
53 mv -f $tmpfile osreldate.h
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_003_pos.ksh51 rm -f $tmpfile
54 tmpfile="$TEST_BASE_DIR/zpool_create_003.tmp$$"
70 create_pool $TESTPOOL $DISK0 > $tmpfile
73 log_must eval "zpool create -n $prop $TESTPOOL $DISK0 > $tmpfile"
79 grep "$str" $tmpfile >/dev/null 2>&1 || \
89 create_pool $TESTPOOL $DISK0 > $tmpfile
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_003_pos.ksh57 [[ -e $tmpfile ]] && \
58 log_must $RM -f $tmpfile
61 tmpfile="$TMPDIR/zpool_create_003.tmp${TESTCASE_ID}"
77 create_pool $TESTPOOL ${disk}p1 > $tmpfile
80 $ZPOOL create -n $TESTPOOL ${disk}p1 > $tmpfile
86 $CAT $tmpfile | $GREP "$str" >/dev/null 2>&1
/freebsd-current/tests/sys/cddl/zfs/tests/cli_user/zfs_list/
H A Dzfs_list_003_pos.ksh56 if [[ -f $tmpfile ]]; then
57 $RM -f $tmpfile
66 tmpfile=$TMPDIR/zfslist.out.${TESTCASE_ID}
76 run_unprivileged $ZFS list -rH -o name $path > $tmpfile
78 $GREP -q "^${fs}$" $tmpfile
80 cat $tmpfile
/freebsd-current/usr.sbin/vigr/
H A Dvigr.sh61 tmpfile="${tmpdir}/group"
69 cp "${grpfile}" "${tmpfile}"
73 ${EDITOR:-/usr/bin/vi} "${tmpfile}"
76 if chkgrp -q "${tmpfile}" ; then
77 install -b -m 0644 -C -S "${tmpfile}" "${grpfile}"
/freebsd-current/tests/sys/geom/class/concat/
H A Dappend1.sh39 tmpfile=$(mktemp) || exit 1
40 dd if=/dev/random of=$tmpfile bs=1M count=3 || exit 1
41 dd if=$tmpfile of=/dev/concat/${name} || exit 1
42 if cmp -s $tmpfile /dev/concat/${name}; then
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dsetup.ksh37 if ! $STF_SUITE/tests/functional/tmpfile/tmpfile_test $TESTDIR; then
/freebsd-current/usr.sbin/bsdconfig/share/packages/
H A Dindex.awk31 cat, npkgs, desc >>tmpfile
53 print "_categories_" varpkg "=\"" $7 "\"" >> tmpfile
57 print "_rundeps_" varpkg "=\"" $9 "\"" >> tmpfile
68 print "_npkgs_" varcat "=\"" npkgs "\"" >>tmpfile
72 print "CATEGORY_MENU_LIST=\"" >>tmpfile
90 print "\"" >>tmpfile
94 print "PACKAGE_CATEGORIES=\"" category_list "\"" >> tmpfile
95 print "_npkgs=\""npkg"\"" >>tmpfile
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_003_pos.ksh61 tmpfile="zpool_add_003.tmp${TESTCASE_ID}"
66 $ZPOOL add -n "$TESTPOOL" ${DISK1} > $tmpfile
71 $CAT $tmpfile | $GREP "$str" >/dev/null 2>&1
/freebsd-current/contrib/elftoolchain/libelftc/
H A Dmake-toolchain-version94 tmpfile=`mktemp ${TMPDIR:-/tmp}/MV.XXXXXXX`
95 trap "rm -f ${tmpfile};" 0 1 2 3 15
97 cat > ${tmpfile} <<EOF
110 if ! cmp -s ${tmpfile} ${versionfile}; then
112 cp ${tmpfile} ${versionfile} || exit ${?}
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.libdepfullyconnected.ksh41 tmpfile=/tmp/libdeporder.$$
67 DTRACE_DEBUG=1 $dtrace -L$libdir -e >$tmpfile 2>&1
69 perl /dev/stdin $tmpfile <<EOF
99 rm $tmpfile

Completed in 375 milliseconds

1234