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)
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 39fccba73..7d0fae114 100644
--- a/regress/forwarding.sh
+++ b/regress/forwarding.sh
@@ -10,7 +10,8 @@ start_sshd
10base=33 10base=33
11last=$PORT 11last=$PORT
12fwd="" 12fwd=""
13CTL=/tmp/openssh.regress.ctl-sock.$$ 13make_tmpdir
14CTL=${SSH_REGRESS_TMP}/ctl-sock
14 15
15for j in 0 1 2; do 16for j in 0 1 2; do
16 for i in 0 1 2; do 17 for i in 0 1 2; do