Home
last modified time | relevance | path

Searched refs:tmpfile (Results 1 – 25 of 153) sorted by relevance

1234567

/netbsd-src/external/bsd/unbound/dist/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 …]
/netbsd-src/tests/net/ipsec/
H A Dt_ipsec_ah_keys.sh36 local tmpfile=./tmp
45 cat > $tmpfile <<-EOF
48 $DEBUG && cat $tmpfile
49 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
54 cat > $tmpfile <<-EOF
57 $DEBUG && cat $tmpfile
58 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
63 rm -f $tmpfile
96 local tmpfile=./tmp
105 cat > $tmpfile <<-EOF
[all …]
H A Dt_ipsec_esp_keys.sh36 local tmpfile=./tmp
45 cat > $tmpfile <<-EOF
48 $DEBUG && cat $tmpfile
49 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
54 cat > $tmpfile <<-EOF
57 $DEBUG && cat $tmpfile
58 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
63 rm -f $tmpfile
96 local tmpfile=./tmp
105 cat > $tmpfile <<-EOF
[all …]
H A Dt_ipsec_sockopt.sh52 local tmpfile=./tmp
88 cat > $tmpfile <<-EOF
92 $DEBUG && cat $tmpfile
93 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
97 cat > $tmpfile <<-EOF
101 $DEBUG && cat $tmpfile
102 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
135 cat > $tmpfile <<-EOF
138 $DEBUG && cat $tmpfile
139 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
[all …]
H A Dt_ipsec_gif.sh82 local tmpfile=./tmp
151 cat > $tmpfile <<-EOF
159 $DEBUG && cat $tmpfile
160 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
163 cat > $tmpfile <<-EOF
171 $DEBUG && cat $tmpfile
172 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
176 cat > $tmpfile <<-EOF
184 $DEBUG && cat $tmpfile
185 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
[all …]
H A Dt_ipsec_l2tp.sh81 local tmpfile=./tmp
148 cat > $tmpfile <<-EOF
156 $DEBUG && cat $tmpfile
157 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
160 cat > $tmpfile <<-EOF
168 $DEBUG && cat $tmpfile
169 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
173 cat > $tmpfile <<-EOF
181 $DEBUG && cat $tmpfile
182 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
[all …]
H A Dt_ipsec_transport.sh51 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
99 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
138 local tmpfile=./tmp
169 cat > $tmpfile <<-EOF
174 $DEBUG && cat $tmpfile
[all …]
H A Dt_ipsec_misc.sh42 local tmpfile=./tmp
60 cat > $tmpfile <<-EOF
66 $DEBUG && cat $tmpfile
67 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
76 cat > $tmpfile <<-EOF
82 $DEBUG && cat $tmpfile
83 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
94 local tmpfile=./__tmp
108 $HIJACKING setkey $setkey_opts > $tmpfile
109 $DEBUG && cat $tmpfile
[all …]
H A Dt_ipsec_tunnel.sh77 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
150 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
177 local tmpfile=./tmp
227 cat > $tmpfile <<-EOF
235 $DEBUG && cat $tmpfile
[all …]
H A Dt_ipsec_tunnel_odd.sh79 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
156 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
185 local tmpfile=./tmp
239 cat > $tmpfile <<-EOF
247 $DEBUG && cat $tmpfile
[all …]
H A Dt_ipsec_tunnel_ipcomp.sh108 local tmpfile=./tmp
159 cat > $tmpfile <<-EOF
171 $DEBUG && cat $tmpfile
172 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
177 cat > $tmpfile <<-EOF
189 $DEBUG && cat $tmpfile
190 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
235 local tmpfile=./tmp
285 cat > $tmpfile <<-EOF
297 $DEBUG && cat $tmpfile
[all …]
H A Dt_ipsec_natt.sh73 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
90 atf_check -s exit:0 -o empty $HIJACKING setkey -c < $tmpfile
103 local tmpfile=./tmp
106 cat > $tmpfile <<-EOF
110 $DEBUG && cat $tmpfile
[all …]
/netbsd-src/share/man/man8/
H A DMAKEDEV2manpage.sh49 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-src/external/gpl3/gcc/dist/contrib/
H A Dwarn_summary141 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-src/external/gpl3/gcc.old/dist/contrib/
H A Dwarn_summary141 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-src/external/ibm-public/postfix/dist/src/virtual/
H A Dmaildir.c81 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-src/external/ibm-public/postfix/dist/src/local/
H A Dmaildir.c86 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-src/external/mpl/dhcp/dist/contrib/
H A Ddhclient-tz-exithook.sh67 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-src/external/cddl/osnet/lib/libzfs/
H A Dfsshare.c151 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-src/external/gpl2/xcvs/dist/contrib/
H A Dsccs2rcs.in101 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 Drcs2sccs.sh25 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-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
H A Dsanitizer_libc_test.cc107 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()
137 EXPECT_EQ(0u, internal_stat(tmpfile, &st1)); in TEST()
138 EXPECT_EQ(0u, internal_lstat(tmpfile, &st2)); in TEST()
164 Unlink(tmpfile); in TEST()
289 char tmpfile[128]; in TEST() local
[all …]
/netbsd-src/external/bsd/openldap/dist/tests/scripts/
H A Dtest030-relay68 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-src/external/bsd/atf/dist/test-programs/
H A Dsh_helpers.sh41 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)
/netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/
H A D20-test_mac.t139 my $tmpfile = "input-$test_count.bin";
146 open(my $in, '>', $tmpfile) or die "Could not open file";
153 my @other = ('-in', $tmpfile, $type);
190 my $tmpfile = "input-$test_count.bin";
196 open(my $in, '>', $tmpfile) or die "Could not open file";
202 my @other = ("-binary", "-in", $tmpfile, "-out", $outfile, $type);

1234567