chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3520826
)
test: Move sockets in a subdirectory
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 21:14:04 +0000
(22:14 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 22:29:26 +0000
(23:29 +0100)
They need to be not world-accessible and this is the easiest way.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/common.tcl
patch
|
blob
|
history
diff --git
a/test/common.tcl
b/test/common.tcl
index 189d5c77e4587d4d68b2864df3351182f8ede9d1..59b10baeef34ede637d0588832048172b6055be8 100644
(file)
--- a/
test/common.tcl
+++ b/
test/common.tcl
@@
-157,7
+157,8
@@
proc sendpkt {} {
file mkdir test/tmp
set tmp test/tmp
-set socktmp $tmp
+set socktmp $tmp/s
+exec mkdir -p -m700 $socktmp
regsub {^(?!/)} $socktmp {./} socktmp ;# dgram-socket wants ./ or /
proc prefix_preload {lib} {