diff options
author | Damien Miller <djm@mindrot.org> | 2018-07-20 14:53:42 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-07-20 14:55:29 +1000 |
commit | c59aca8adbdf7f5597084ad360a19bedb3f80970 (patch) | |
tree | 79912187691e15a3d34db3fff61f6dfdacb03def /regress/multiplex.sh | |
parent | 6ad8648e83e4f4ace37b742a05c2a6b6b872514e (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/multiplex.sh')
-rw-r--r-- | regress/multiplex.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/multiplex.sh b/regress/multiplex.sh index 078a53a88..a6fad8eb8 100644 --- a/regress/multiplex.sh +++ b/regress/multiplex.sh | |||
@@ -1,7 +1,8 @@ | |||
1 | # $OpenBSD: multiplex.sh,v 1.28 2017/04/30 23:34:55 djm Exp $ | 1 | # $OpenBSD: multiplex.sh,v 1.28 2017/04/30 23:34:55 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | CTL=/tmp/openssh.regress.ctl-sock.$$ | 4 | make_tmpdir |
5 | CTL=${SSH_REGRESS_TMP}/ctl-sock | ||
5 | 6 | ||
6 | tid="connection multiplexing" | 7 | tid="connection multiplexing" |
7 | 8 | ||