/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.freopen.ksh | 30 $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 $tmpfile.$iter 92 if [ ! -f $tmpfile.$i ]; then [all …]
|
H A D | tst.badfreopen.ksh | 30 $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/sys/contrib/openzfs/config/ |
H A D | kernel-tmpfile.m4 | 3 dnl # Add support for i_op->tmpfile 12 static int tmpfile(struct mnt_idmap *idmap, 17 .tmpfile = tmpfile, 25 static int tmpfile(struct user_namespace *userns, 30 .tmpfile = tmpfile, 35 dnl # add support for userns parameter to tmpfile 39 static int tmpfile(struct user_namespace *userns, 44 .tmpfile = tmpfile, 49 static int tmpfile(struct inode *inode, struct dentry *dentry, 53 .tmpfile = tmpfile, [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | update-anchor.sh | 57 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_backup.ksh | 23 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=$(xxh128digest $tmpfile.1) 51 typeset sum2=$(xxh128digest $tmpfile.2)
|
H A D | zdb_002_pos.ksh | 35 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 && \
|
/freebsd/contrib/sendmail/contrib/ |
H A D | doublebounce.pl | 42 use vars qw( $opt_d $tmpfile); 104 open(MSG, "<$tmpfile"); 128 $tmpfile = tmpnam(); 130 if (!open(MSG, ">$tmpfile")) { 131 syslog('err', "Unable to open temporary file $tmpfile"); 136 if (!open(MSG, "<$tmpfile")) { 137 syslog('err', "Unable to reopen temporary file $tmpfile"); 220 unlink($tmpfile);
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zpool_influxdb/ |
H A D | zpool_influxdb.ksh | 29 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/usr.sbin/bsdconfig/share/packages/ |
H A D | index.awk | 31 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/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | zpool_create_003_pos.ksh | 57 [[ -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/tests/sys/cddl/zfs/tests/cli_user/zfs_list/ |
H A D | zfs_list_003_pos.ksh | 56 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_003_pos.ksh | 51 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
|
H A D | zpool_create.shlib | 117 typeset tmpfile=$(mktemp) 133 echo "$line" >>$tmpfile 147 if ! grep -q $name $tmpfile; then 148 cat $tmpfile 149 rm -f $tmpfile 154 if grep -q $name $tmpfile; then 155 cat $tmpfile 156 rm -f $tmpfile 161 rm -f $tmpfile 168 rm -f $tmpfile
|
/freebsd/contrib/atf/test-programs/ |
H A D | sh_helpers.sh | 37 touch $(atf_config_get tmpfile) 42 rm $(atf_config_get tmpfile) 53 touch $(atf_config_get tmpfile) 59 rm $(atf_config_get tmpfile) 70 touch $(atf_config_get tmpfile) 76 rm $(atf_config_get tmpfile) 101 touch $(atf_config_get tmpfile) 103 touch $(atf_config_get tmpfile).no 107 rm $(atf_config_get tmpfile)
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zpool_iostat/ |
H A D | zpool_iostat_002_pos.ksh | 46 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/include/ |
H A D | mk-osreldate.sh | 34 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/tests/sys/cddl/zfs/tests/cli_user/zpool_iostat/ |
H A D | zpool_iostat_002_pos.ksh | 55 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/usr.sbin/vigr/ |
H A D | vigr.sh | 61 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/ |
H A D | zfs_list_003_pos.ksh | 47 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/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.manypids.ksh | 46 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/sys/contrib/openzfs/lib/libshare/os/linux/ |
H A D | nfs.c | 55 typedef int (*nfs_host_callback_t)(FILE *tmpfile, const char *sharepath, 126 FILE *tmpfile; member 207 error = udata->callback(udata->tmpfile, in foreach_nfs_host_cb() 230 foreach_nfs_host(sa_share_impl_t impl_share, FILE *tmpfile, in foreach_nfs_host() argument 238 udata.tmpfile = tmpfile; in foreach_nfs_host() 422 nfs_add_entry(FILE *tmpfile, const char *sharepath, in nfs_add_entry() argument 436 if (fprintf(tmpfile, "%s %s(sec=%s,%s,%s)\n", mp, in nfs_add_entry() 452 nfs_enable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) in nfs_enable_share_impl() argument 459 error = foreach_nfs_host(impl_share, tmpfile, nfs_add_entry, in nfs_enable_share_impl() 480 nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) in nfs_disable_share_impl() argument [all …]
|
/freebsd/sys/contrib/openzfs/lib/libshare/os/freebsd/ |
H A D | nfs.c | 118 nfs_enable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) in nfs_enable_share_impl() argument 146 if (fputs(mp, tmpfile) == EOF || in nfs_enable_share_impl() 147 fputc('\t', tmpfile) == EOF || in nfs_enable_share_impl() 148 translate_opts(exportopts, tmpfile) == EOF || in nfs_enable_share_impl() 149 fputc('\n', tmpfile) == EOF) { in nfs_enable_share_impl() 171 nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile) in nfs_disable_share_impl() argument 173 (void) impl_share, (void) tmpfile; in nfs_disable_share_impl()
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | make-toolchain-version | 94 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/sys/contrib/openzfs/tests/zfs-tests/ |
H A D | Makefile.am | 23 scripts_zfs_tests_functional_tmpfiledir = $(datadir)/$(PACKAGE)/zfs-tests/tests/functional/tmpfile 25 %D%/tests/functional/tmpfile/tmpfile_001_pos \ 26 %D%/tests/functional/tmpfile/tmpfile_002_pos \ 27 %D%/tests/functional/tmpfile/tmpfile_003_pos \ 28 %D%/tests/functional/tmpfile/tmpfile_stat_mode \ 29 %D%/tests/functional/tmpfile/tmpfile_test
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rootpool/ |
H A D | rootpool_002_neg.ksh | 51 typeset tmpfile="$TEST_BASE_DIR/mounted-datasets.$$" 57 mount -p | awk '$4 == "zfs" {print $1}' > $tmpfile 64 done < $tmpfile 65 rm -f $tmpfile
|