/netbsd/external/bsd/unbound/dist/contrib/ |
H A D | update-anchor.sh | 57 tmpfile="/tmp/update-anchor.$$" 58 tmp2=$tmpfile.2 59 tmp3=$tmpfile.3 67 rm -f $tmpfile 75 if grep '(secure)$' $tmpfile >/dev/null 2>&1; then 78 rm -f $tmpfile 90 grep '(secure)$' $tmpfile | \ 97 grep '(secure)$' $tmpfile | \ 107 grep '(secure)$' $tmpfile | \ 114 grep '(secure)$' $tmpfile | \ [all …]
|
/netbsd/tests/net/ipsec/ |
H A D | t_ipsec_ah_keys.sh | 36 local tmpfile=./tmp 45 cat > $tmpfile <<-EOF 48 $DEBUG && cat $tmpfile 54 cat > $tmpfile <<-EOF 57 $DEBUG && cat $tmpfile 63 rm -f $tmpfile 96 local tmpfile=./tmp 105 cat > $tmpfile <<-EOF 108 $DEBUG && cat $tmpfile 113 $HIJACKING setkey -c < $tmpfile [all …]
|
H A D | t_ipsec_esp_keys.sh | 36 local tmpfile=./tmp 45 cat > $tmpfile <<-EOF 48 $DEBUG && cat $tmpfile 54 cat > $tmpfile <<-EOF 57 $DEBUG && cat $tmpfile 63 rm -f $tmpfile 96 local tmpfile=./tmp 105 cat > $tmpfile <<-EOF 108 $DEBUG && cat $tmpfile 113 $HIJACKING setkey -c < $tmpfile [all …]
|
H A D | t_ipsec_sockopt.sh | 52 local tmpfile=./tmp 88 cat > $tmpfile <<-EOF 92 $DEBUG && cat $tmpfile 97 cat > $tmpfile <<-EOF 101 $DEBUG && cat $tmpfile 135 cat > $tmpfile <<-EOF 138 $DEBUG && cat $tmpfile 165 cat > $tmpfile <<-EOF 195 local tmpfile=./tmp 231 cat > $tmpfile <<-EOF [all …]
|
H A D | t_ipsec_gif.sh | 86 local tmpfile=./tmp 157 cat > $tmpfile <<-EOF 165 $DEBUG && cat $tmpfile 169 cat > $tmpfile <<-EOF 177 $DEBUG && cat $tmpfile 182 cat > $tmpfile <<-EOF 194 cat > $tmpfile <<-EOF 239 local tmpfile=./tmp 308 cat > $tmpfile <<-EOF 320 cat > $tmpfile <<-EOF [all …]
|
H A D | t_ipsec_l2tp.sh | 85 local tmpfile=./tmp 152 cat > $tmpfile <<-EOF 160 $DEBUG && cat $tmpfile 164 cat > $tmpfile <<-EOF 172 $DEBUG && cat $tmpfile 177 cat > $tmpfile <<-EOF 189 cat > $tmpfile <<-EOF 228 local tmpfile=./tmp 294 cat > $tmpfile <<-EOF 306 cat > $tmpfile <<-EOF [all …]
|
H A D | t_ipsec_transport.sh | 51 local tmpfile=./tmp 83 cat > $tmpfile <<-EOF 88 $DEBUG && cat $tmpfile 89 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile 93 cat > $tmpfile <<-EOF 98 $DEBUG && cat $tmpfile 138 local tmpfile=./tmp 169 cat > $tmpfile <<-EOF 174 $DEBUG && cat $tmpfile 179 cat > $tmpfile <<-EOF [all …]
|
H A D | t_ipsec_misc.sh | 42 local tmpfile=./tmp 60 cat > $tmpfile <<-EOF 66 $DEBUG && cat $tmpfile 76 cat > $tmpfile <<-EOF 82 $DEBUG && cat $tmpfile 94 local tmpfile=./__tmp 453 local tmpfile=./tmp 457 cat > $tmpfile <<-EOF 469 cat > $tmpfile <<-EOF 487 local tmpfile=./tmp [all …]
|
H A D | t_ipsec_tunnel.sh | 77 local tmpfile=./tmp 127 cat > $tmpfile <<-EOF 135 $DEBUG && cat $tmpfile 136 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile 141 cat > $tmpfile <<-EOF 149 $DEBUG && cat $tmpfile 177 local tmpfile=./tmp 227 cat > $tmpfile <<-EOF 235 $DEBUG && cat $tmpfile 241 cat > $tmpfile <<-EOF [all …]
|
H A D | t_ipsec_tunnel_odd.sh | 79 local tmpfile=./tmp 133 cat > $tmpfile <<-EOF 141 $DEBUG && cat $tmpfile 142 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile 147 cat > $tmpfile <<-EOF 155 $DEBUG && cat $tmpfile 185 local tmpfile=./tmp 239 cat > $tmpfile <<-EOF 247 $DEBUG && cat $tmpfile 253 cat > $tmpfile <<-EOF [all …]
|
H A D | t_ipsec_natt.sh | 73 local tmpfile=./tmp 76 cat > $tmpfile <<-EOF 80 $DEBUG && cat $tmpfile 81 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile 85 cat > $tmpfile <<-EOF 89 $DEBUG && cat $tmpfile 103 local tmpfile=./tmp 106 cat > $tmpfile <<-EOF 110 $DEBUG && cat $tmpfile 117 cat > $tmpfile <<-EOF [all …]
|
/netbsd/share/man/man8/ |
H A D | MAKEDEV2manpage.sh | 49 tmpfile="${manpage}.$$"; 52 > ${tmpfile} || { rm ${tmpfile}; exit 1; } 53 if ${DIFF} -I'^\.Dd ' -I'^\.\\" $NetBSD' -q ${manpage} ${tmpfile} \ 57 rm ${tmpfile}; 60 if [ `wc -l < ${tmpfile}` -ne `wc -l < ${manpage}` ]; then 65 sed "s/@@@DATE@@@/$date/" ${tmpfile} > ${tmpfile}.2 66 rm ${tmpfile} 67 mv ${tmpfile}.2 ${manpage}
|
/netbsd/external/gpl3/gcc/dist/contrib/ |
H A D | warn_summary | 141 tmpfile=${TMPDIR:-/tmp}/tmp-warn.$$ 144 trap "rm -f $tmpfile" 0 145 trap "rm -f $tmpfile ; exit 1" 1 2 3 5 9 13 15 181 stageNfilter < $file | subdirectoryFilter > $tmpfile 186 warningFilter < $tmpfile 188 cat $tmpfile 202 count=`warningFilter < $tmpfile | wc -l` 207 warningFilter < $tmpfile | srcdirFilter | $AWK -F: '{print$1}' | sort | \ 212 warningFilter < $tmpfile | keywordFilter | sort | uniq -c | sort -nr
|
/netbsd/external/gpl3/gcc.old/dist/contrib/ |
H A D | warn_summary | 141 tmpfile=${TMPDIR:-/tmp}/tmp-warn.$$ 144 trap "rm -f $tmpfile" 0 145 trap "rm -f $tmpfile ; exit 1" 1 2 3 5 9 13 15 181 stageNfilter < $file | subdirectoryFilter > $tmpfile 186 warningFilter < $tmpfile 188 cat $tmpfile 202 count=`warningFilter < $tmpfile | wc -l` 207 warningFilter < $tmpfile | srcdirFilter | $AWK -F: '{print$1}' | sort | \ 212 warningFilter < $tmpfile | keywordFilter | sort | uniq -c | sort -nr
|
/netbsd/external/ibm-public/postfix/dist/src/local/ |
H A D | maildir.c | 86 char *tmpfile; in deliver_maildir() local 188 tmpfile = concatenate(tmpdir, STR(buf), (char *) 0); in deliver_maildir() 190 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0 in deliver_maildir() 193 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) { in deliver_maildir() 195 "create maildir file %s: %m", tmpfile); in deliver_maildir() 203 msg_fatal("fstat %s: %m", tmpfile); in deliver_maildir() 215 if (sane_link(tmpfile, newfile) < 0 in deliver_maildir() 218 || sane_link(tmpfile, newfile) < 0)) { in deliver_maildir() 224 if (unlink(tmpfile) < 0) in deliver_maildir() 225 msg_warn("remove %s: %m", tmpfile); in deliver_maildir() [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/virtual/ |
H A D | maildir.c | 81 char *tmpfile; in deliver_maildir() local 182 tmpfile = concatenate(tmpdir, STR(buf), (char *) 0); in deliver_maildir() 184 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0 in deliver_maildir() 187 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) { in deliver_maildir() 189 "create maildir file %s: %m", tmpfile); in deliver_maildir() 197 msg_fatal("fstat %s: %m", tmpfile); in deliver_maildir() 209 if (sane_link(tmpfile, newfile) < 0 in deliver_maildir() 212 || sane_link(tmpfile, newfile) < 0)) { in deliver_maildir() 218 if (unlink(tmpfile) < 0) in deliver_maildir() 219 msg_warn("remove %s: %m", tmpfile); in deliver_maildir() [all …]
|
/netbsd/external/mpl/dhcp/dist/contrib/ |
H A D | dhclient-tz-exithook.sh | 67 tmpfile=$timefile.$$ 74 $DEBUG mv $tmpfile $timefile 76 $DEBUG rm $tmpfile 125 $DEBUG ln $timefile $tmpfile 141 rm -f $tmpfile 152 rm $tmpfile 168 $DEBUG ln $tmpfile $timefile 177 $DEBUG rm $tmpfile
|
/netbsd/external/cddl/osnet/lib/libzfs/ |
H A D | fsshare.c | 151 char tmpfile[PATH_MAX]; in fsshare_main() local 163 if (strlcpy(tmpfile, file, sizeof(tmpfile)) >= sizeof(tmpfile)) in fsshare_main() 165 if (strlcat(tmpfile, ".XXXXXXXX", sizeof(tmpfile)) >= sizeof(tmpfile)) in fsshare_main() 167 fd = mkstemp(tmpfile); in fsshare_main() 218 unlink(tmpfile); in fsshare_main() 220 if (rename(tmpfile, file) == -1) { in fsshare_main() 222 unlink(tmpfile); in fsshare_main()
|
/netbsd/external/gpl2/xcvs/dist/contrib/ |
H A D | sccs2rcs.in | 101 set tmpfile = /tmp/sccs2rcs_$$_tmp 102 rm -f $tmpfile 232 sed -f $sedfile $file > $tmpfile 235 cp $tmpfile $file 257 cat > $tmpfile 258 ci -f -r$rev -d"$date" -w$author -t$tmpfile $file < $initialfile >>& $logfile 274 sccs prs -r$rev $file | grep "." > $tmpfile 277 ed $tmpfile >>& $logfile <<EOF 283 ci -f -r$rev -d"$date" -w$author $file < $tmpfile >>& $logfile 299 rm -f $tmpfile $emptyfile $initialfile $sedfile [all …]
|
H A D | rcs2sccs.sh | 25 tmpfile=/tmp/rcs2sccs_$$_tmp 26 rm -f $tmpfile 51 sed -e 's/;/\\$/g' $sedfile > $tmpfile 52 cp $tmpfile $sedfile 89 sed -f $sedfile $file > $tmpfile 96 cp $tmpfile $file 133 sed -e "s;^d D $rev ../../.. ..:..:.. [^ ][^ ]*;d D $rev $date $author;" SCCS/s.$file > $tmpfile 135 cp $tmpfile SCCS/s.$file 151 rm -f $tmpfile $emptyfile $initialfile $sedfile $commentfile
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_libc_test.cc | 107 char tmpfile[128]; in TEST() local 108 temp_file_name(tmpfile, sizeof(tmpfile), "sanitizer_common.fileops.tmp."); in TEST() 109 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST() 114 fd = OpenFile(tmpfile, WrOnly); in TEST() 126 EXPECT_TRUE(FileExists(tmpfile)); in TEST() 128 fd = OpenFile(tmpfile, RdOnly); in TEST() 164 Unlink(tmpfile); in TEST() 289 char tmpfile[128]; in TEST() local 290 temp_file_name(tmpfile, sizeof(tmpfile), in TEST() 292 fd_t fd = OpenFile(tmpfile, RdWr); in TEST() [all …]
|
/netbsd/external/bsd/openldap/dist/tests/scripts/ |
H A D | test030-relay | 68 tmpfile=savelog.log 69 if test -f $tmpfile ; then 70 rm -f $tmpfile 81 mv -f $LOG1 $tmpfile 87 if test -f $tmpfile ; then 88 mv $tmpfile $LOG1
|
/netbsd/external/gpl3/gdb/dist/binutils/testsuite/binutils-all/ |
H A D | nm.exp | 208 set tmpfile [remote_download host tmpdir/unique.o] 210 set tmpfile tmpdir/unique.o 213 set got [binutils_run $NM "$NMFLAGS -g $tmpfile"] 233 set tmpfile [remote_download host tmpdir/nm-ver.o] 235 set tmpfile tmpdir/nm-ver.o 238 set got [binutils_run $NM "$NMFLAGS --with-symbol-versions --format sysv $tmpfile"] 283 set tmpfile [remote_download host tmpdir/dw4r.o] 285 set tmpfile tmpdir/dw4.o 288 set got [binutils_run $NM "$NMFLAGS --line-numbers $tmpfile"] 298 remote_file host delete $tmpfile
|
/netbsd/external/gpl3/gdb.old/dist/binutils/testsuite/binutils-all/ |
H A D | nm.exp | 208 set tmpfile [remote_download host tmpdir/unique.o] 210 set tmpfile tmpdir/unique.o 213 set got [binutils_run $NM "$NMFLAGS -g $tmpfile"] 233 set tmpfile [remote_download host tmpdir/nm-ver.o] 235 set tmpfile tmpdir/nm-ver.o 238 set got [binutils_run $NM "$NMFLAGS --with-symbol-versions --format sysv $tmpfile"] 283 set tmpfile [remote_download host tmpdir/dw4r.o] 285 set tmpfile tmpdir/dw4.o 288 set got [binutils_run $NM "$NMFLAGS --line-numbers $tmpfile"] 298 remote_file host delete $tmpfile
|
/netbsd/external/bsd/atf/dist/test-programs/ |
H A D | sh_helpers.sh | 41 touch $(atf_config_get tmpfile) 46 rm $(atf_config_get tmpfile) 57 touch $(atf_config_get tmpfile) 63 rm $(atf_config_get tmpfile) 74 touch $(atf_config_get tmpfile) 80 rm $(atf_config_get tmpfile) 105 touch $(atf_config_get tmpfile) 107 touch $(atf_config_get tmpfile).no 111 rm $(atf_config_get tmpfile)
|