From dce79707165d23a0125582e5748f78e145901b2b Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 12 Oct 2019 22:14:04 +0100 Subject: [PATCH] test: Move sockets in a subdirectory They need to be not world-accessible and this is the easiest way. Signed-off-by: Ian Jackson --- test/common.tcl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/common.tcl b/test/common.tcl index 189d5c7..59b10ba 100644 --- 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} { -- 2.30.2