History log of /openbsd-src/regress/usr.bin/ssh/multiplex.sh (Results 1 – 25 of 37)
Revision Date Author Comments
# e16fc774 19-Jul-2024 djm <djm@openbsd.org>

test transfers in mux proxy mode too


# f82bd1c6 01-Mar-2023 dtucker <dtucker@openbsd.org>

Rework logging for the regression tests. Previously we would log to
ssh.log and sshd.log, but that is insufficient for tests that have more
than one concurent ssh/sshd.

Instead, we'll log to separa

Rework logging for the regression tests. Previously we would log to
ssh.log and sshd.log, but that is insufficient for tests that have more
than one concurent ssh/sshd.

Instead, we'll log to separate datestamped files in a $OBJ/log/ and
leave a symlink at the previous location pointing at the most recent
instance with an entry in regress.log showing which files were created
at each point. This should be sufficient to reconstruct what happened
even for tests that use multiple instances of each program. If the test
fails, tar up all of the logs for later analysis.

This will let us also capture the output from some of the other tools
which was previously sent to /dev/null although most of those will be
in future commits.

show more ...


# 8dcc14e7 13-Jan-2023 dtucker <dtucker@openbsd.org>

Move scp path setting to a helper function.
The previous commit to add scp to the test sshd's path causes the t-envpass
test to fail when the test scp is given using a fully qualified path. Put
this

Move scp path setting to a helper function.
The previous commit to add scp to the test sshd's path causes the t-envpass
test to fail when the test scp is given using a fully qualified path. Put
this in a helper function and only call it from the scp tests.

show more ...


# 37a365c6 03-Jun-2022 djm <djm@openbsd.org>

test setenv in both client and server, test first-match-wins too


# 3b453ae1 24-Jun-2020 markus <markus@openbsd.org>

add test for mux w/-Oproxy; ok djm


# 8e4b6177 25-Jan-2020 dtucker <dtucker@openbsd.org>

Move setting $NC into test-exec since it's now used by multiple tests,
and in -portable we use our own local copy to avoid portability problems.


# 8d6500b0 25-Jan-2020 dtucker <dtucker@openbsd.org>

Wait a bit longer for the multiplex master to become ready since on very
slow hosts the current delay is not sufficient and the test will fail.


# 641111b6 05-Jul-2019 dtucker <dtucker@openbsd.org>

Add a sleep to allow forwards to come up.

Currently when the multiplex client requests a forward it returns
once the request has been sent but not necessarily when the forward
is up. This causes in

Add a sleep to allow forwards to come up.

Currently when the multiplex client requests a forward it returns
once the request has been sent but not necessarily when the forward
is up. This causes intermittent text failures due to this race,
so add some sleeps to mitigate this until we can fix it properly.

show more ...


# 0a9a63d5 01-Jan-2019 djm <djm@openbsd.org>

regress bits for banner processing refactor (this test was depending
on ssh returning a particular error message for banner parsing failure)

reminded by bluhm@


# 773d7cab 30-Apr-2017 djm <djm@openbsd.org>

eliminate explicit specification of protocol in tests and loops over
protocol. We only support SSHv2 now.


# 40bca74b 22-Dec-2014 djm <djm@openbsd.org>

make this slightly easier to diff against portable


# 74c494d0 22-Dec-2014 djm <djm@openbsd.org>

poll changes to netcat (usr.bin/netcat.c r1.125) broke this test;
fix it by ensuring more stdio fds are sent to devnull


# d01f9bc8 22-Jul-2014 djm <djm@openbsd.org>

change the test for still-open Unix domain sockets to be robust against
nc implementations that produce error messages. from -portable


# a0215499 15-Jul-2014 millert <millert@openbsd.org>

Add support for Unix domain socket forwarding. A remote TCP port
may be forwarded to a local Unix domain socket and vice versa or
both ends may be a Unix domain socket. This is a reimplementation
o

Add support for Unix domain socket forwarding. A remote TCP port
may be forwarded to a local Unix domain socket and vice versa or
both ends may be a Unix domain socket. This is a reimplementation
of the streamlocal patches by William Ahern from:
http://www.25thandclement.com/~william/projects/streamlocal.html
OK djm@ markus@

show more ...


# 6341def3 07-Jul-2014 djm <djm@openbsd.org>

remove forced-fatal that I stuck in there to test the new cleanup
logic and forgot to remove...


# 3d5eb322 06-Jul-2014 djm <djm@openbsd.org>

add a hook to the cleanup() function to kill $SSH_PID if it is set

use it to kill the mux master started in multiplex.sh (it was being left
around on fatal failures)


# 55727a17 17-May-2013 dtucker <dtucker@openbsd.org>

Move the setting of DATA and COPY into test-exec.sh


# 78b6170f 22-Apr-2013 dtucker <dtucker@openbsd.org>

Add tests for -Oforward and -Ocancel for local and remote forwards


# 306ee924 22-Apr-2013 dtucker <dtucker@openbsd.org>

Write mux master logs to regress.log instead of ssh.log to keep separate


# b4156e43 06-Apr-2013 dtucker <dtucker@openbsd.org>

Split the regress log into 3 parts: the debug output from ssh, the debug
log from sshd and the output from the client command (ssh, scp or sftp).
Somewhat functional now, will become more useful when

Split the regress log into 3 parts: the debug output from ssh, the debug
log from sshd and the output from the client command (ssh, scp or sftp).
Somewhat functional now, will become more useful when ssh/sshd -E is added.

show more ...


# 9b9d5b66 05-Oct-2012 dtucker <dtucker@openbsd.org>

Use 'kill -0' to test for the presence of a pid since it's more portable


# 76ed39c3 10-Sep-2012 dtucker <dtucker@openbsd.org>

use -Ocheck and waiting for completions by PID to make multiplexing test
less racy and (hopefully) more reliable on slow hardware.


# cff05cbd 10-Sep-2012 dtucker <dtucker@openbsd.org>

Log -O cmd output to the log file and make logging consistent with the other
tests. Test clean shutdown of an existing channel when testing "stop".


# c674ec46 09-Sep-2012 dtucker <dtucker@openbsd.org>

Add test for ssh -Ostop


# 02f2374b 01-Jun-2012 djm <djm@openbsd.org>

append to rather than truncate test log; bz#2013 from openssh AT
roumenpetrov.info


12