diff options
author | Colin Watson <cjwatson@debian.org> | 2017-01-03 12:09:42 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-01-03 12:23:00 +0000 |
commit | cc50ca70e3b438577c33a85147e2a68666deaad9 (patch) | |
tree | 61580f79d8af26080488ad21d994fdec5af85a29 /regress/forwarding.sh | |
parent | d225c4fe44ad94a30a5033e58594f2bebaa674f2 (diff) |
Create mux socket for regress in temp directory
In some setups, creating the socket under OBJ may result in a path that
is too long for a Unix domain socket. Add a helper to let us portably
create a temporary directory instead.
Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2660
Last-Update: 2017-01-03
Patch-Name: regress-mktemp.patch
Diffstat (limited to 'regress/forwarding.sh')
-rw-r--r-- | regress/forwarding.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/forwarding.sh b/regress/forwarding.sh index a1a4b13f2..592de7bc3 100644 --- a/regress/forwarding.sh +++ b/regress/forwarding.sh | |||
@@ -10,7 +10,8 @@ start_sshd | |||
10 | base=33 | 10 | base=33 |
11 | last=$PORT | 11 | last=$PORT |
12 | fwd="" | 12 | fwd="" |
13 | CTL=$OBJ/ctl-sock | 13 | make_tmpdir |
14 | CTL=$TMP/ctl-sock | ||
14 | 15 | ||
15 | for j in 0 1 2; do | 16 | for j in 0 1 2; do |
16 | for i in 0 1 2; do | 17 | for i in 0 1 2; do |