summaryrefslogtreecommitdiff
path: root/regress/forwarding.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2017-01-03 12:09:42 +0000
committerColin Watson <cjwatson@debian.org>2017-01-16 15:02:54 +0000
commit6ca09916439a58f0789deb79960ee5defc05a946 (patch)
tree2dfc8dc5a56ce659c62c7120fb001671e94ba3b4 /regress/forwarding.sh
parent166f04046035ffca27c820649df360eaa5dd1b99 (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.sh3
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
10base=33 10base=33
11last=$PORT 11last=$PORT
12fwd="" 12fwd=""
13CTL=$OBJ/ctl-sock 13make_tmpdir
14CTL=$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