summaryrefslogtreecommitdiff
path: root/regress/forwarding.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2018-07-20 14:53:42 +1000
committerDamien Miller <djm@mindrot.org>2018-07-20 14:55:29 +1000
commitc59aca8adbdf7f5597084ad360a19bedb3f80970 (patch)
tree79912187691e15a3d34db3fff61f6dfdacb03def /regress/forwarding.sh
parent6ad8648e83e4f4ace37b742a05c2a6b6b872514e (diff)
downloadopenssh-git-c59aca8adbdf7f5597084ad360a19bedb3f80970.tar.gz
Create control sockets in clean temp directories
Adds a regress/mkdtemp tool and uses it to create empty temp directories for tests needing control sockets. Patch from Colin Watson via bz#2660; ok dtucker
Diffstat (limited to 'regress/forwarding.sh')
-rw-r--r--regress/forwarding.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/forwarding.sh b/regress/forwarding.sh
index 39fccba7..7d0fae11 100644
--- a/regress/forwarding.sh
+++ b/regress/forwarding.sh
@@ -10,7 +10,8 @@ start_sshd
base=33
last=$PORT
fwd=""
-CTL=/tmp/openssh.regress.ctl-sock.$$
+make_tmpdir
+CTL=${SSH_REGRESS_TMP}/ctl-sock
for j in 0 1 2; do
for i in 0 1 2; do