summaryrefslogtreecommitdiff
path: root/regress/multiplex.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/multiplex.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/multiplex.sh')
-rw-r--r--regress/multiplex.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh
index acb9234d9..0ac4065e7 100644
--- a/regress/multiplex.sh
+++ b/regress/multiplex.sh
@@ -1,7 +1,8 @@
1# $OpenBSD: multiplex.sh,v 1.27 2014/12/22 06:14:29 djm Exp $ 1# $OpenBSD: multiplex.sh,v 1.27 2014/12/22 06:14:29 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4CTL=/tmp/openssh.regress.ctl-sock.$$ 4make_tmpdir
5CTL=$TMP/ctl-sock
5 6
6tid="connection multiplexing" 7tid="connection multiplexing"
7 8