summaryrefslogtreecommitdiff
path: root/regress/multiplex.sh
AgeCommit message (Collapse)Author
2019-01-17upstream: regress bits for banner processing refactor (this test wasdjm@openbsd.org
depending on ssh returning a particular error message for banner parsing failure) reminded by bluhm@ OpenBSD-Regress-ID: f24fc303d40931157431df589b386abf5e1be575
2018-07-20Create control sockets in clean temp directoriesDamien Miller
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
2017-05-01upstream commitdjm@openbsd.org
eliminate explicit specification of protocol in tests and loops over protocol. We only support SSHv2 now. Upstream-Regress-ID: 0082838a9b8a382b7ee9cbf0c1b9db727784fadd
2015-02-26valgrind supportDamien Miller
2014-12-23include and use OpenBSD netcat in regress/Damien Miller
2014-12-22upstream commitdjm@openbsd.org
make this slightly easier to diff against portable
2014-12-22upstream commitdjm@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
2014-08-01 - (djm) [regress/multiplex.sh] Use -d (detach stdin) flag to disassociateDamien Miller
nc from stdin, it's more portable
2014-08-01 - (djm) [regress/multiplex.sh] Instruct nc not to quit as soon as stdinDamien Miller
is closed; avoid regress failures when stdin is /dev/null
2014-08-01 - (djm) [regress/multiplex.sh] Skip test for non-OpenBSD netcat. We needDamien Miller
a better solution, but this will have to do for now.
2014-07-25 - (djm) [regress/multiplex.sh] restore incorrectly deleted line;Damien Miller
pointed out by Christian Hesse
2014-07-23 - djm@cvs.openbsd.org 2014/07/22 01:32:12Darren Tucker
[regress/multiplex.sh] change the test for still-open Unix domain sockets to be robust against nc implementations that produce error messages. from -portable (Id sync only)
2014-07-22 - (djm) [regress/multiplex.sh] change the test for still-open UnixDamien Miller
domain sockets to be robust against nc implementations that produce error messages.
2014-07-22 - (djm) [regress/multiplex.sh] ssh mux master lost -N somehow;Damien Miller
put it back
2014-07-21 - (djm) [regress/multiplex.sh] Not all netcat accept the -N option.Damien Miller
2014-07-21 - millert@cvs.openbsd.org 2014/07/15 15:54:15Damien Miller
[forwarding.sh multiplex.sh] 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@
2014-07-09 - djm@cvs.openbsd.org 2014/07/07 08:15:26Damien Miller
[multiplex.sh] remove forced-fatal that I stuck in there to test the new cleanup logic and forgot to remove...
2014-07-09 - djm@cvs.openbsd.org 2014/07/06 07:42:03Damien Miller
[multiplex.sh test-exec.sh] 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)
2013-05-17 - dtucker@cvs.openbsd.org 2013/05/17 04:29:14Darren Tucker
[regress/sftp.sh regress/putty-ciphers.sh regress/cipher-speed.sh regress/test-exec.sh regress/sftp-batch.sh regress/dynamic-forward.sh regress/putty-transfer.sh regress/conch-ciphers.sh regress/sftp-cmds.sh regress/scp.sh regress/ssh-com-sftp.sh regress/rekey.sh regress/putty-kex.sh regress/stderr-data.sh regress/stderr-after-eof.sh regress/sftp-badcmds.sh regress/reexec.sh regress/ssh-com-client.sh regress/sftp-chroot.sh regress/forwarding.sh regress/transfer.sh regress/multiplex.sh] Move the setting of DATA and COPY into test-exec.sh
2013-05-17 - dtucker@cvs.openbsd.org 2013/04/22 07:28:53Darren Tucker
[multiplex.sh] Add tests for -Oforward and -Ocancel for local and remote forwards
2013-05-17 - dtucker@cvs.openbsd.org 2013/04/22 07:23:08Darren Tucker
[multiplex.sh] Write mux master logs to regress.log instead of ssh.log to keep separate
2013-05-17 - dtucker@cvs.openbsd.org 2013/04/06 06:00:22Darren Tucker
[regress/rekey.sh regress/test-exec.sh regress/integrity.sh regress/multiplex.sh Makefile regress/cfgmatch.sh] 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.
2012-12-03 - dtucker@cvs.openbsd.org 2012/10/05 02:05:30Damien Miller
[regress/multiplex.sh] Use 'kill -0' to test for the presence of a pid since it's more portable
2012-10-05 - dtucker@cvs.openbsd.org 2012/09/10 01:51:19Darren Tucker
[regress/multiplex.sh] use -Ocheck and waiting for completions by PID to make multiplexing test less racy and (hopefully) more reliable on slow hardware.
2012-10-05 - dtucker@cvs.openbsd.org 2012/09/10 00:49:21Darren Tucker
[regress/multiplex.sh] 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".
2012-10-05 - dtucker@cvs.openbsd.org 2012/09/09 11:51:25Darren Tucker
[multiplex.sh] Add test for ssh -Ostop
2012-06-30 - djm@cvs.openbsd.org 2012/06/01 00:47:35Darren Tucker
[multiplex.sh forwarding.sh] append to rather than truncate test log; bz#2013 from openssh AT roumenpetrov.
2011-01-17 - (djm) [configure.ac regress/agent-getpeereid.sh regress/multiplex.sh]Damien Miller
[regress/sftp-glob.sh regress/test-exec.sh] Rework how feature tests are disabled on platforms that do not support them; add a "config_defined()" shell function that greps for defines in config.h and use them to decide on feature tests. Convert a couple of existing grep's over config.h to use the new function Add a define "FILESYSTEM_NO_BACKSLASH" for filesystem that can't represent backslash characters in filenames, enable it for Cygwin and use it to turn of tests for quotes backslashes in sftp-glob.sh. based on discussion with vinschen AT redhat.com and dtucker@; ok dtucker@
2009-10-07 - dtucker@cvs.openbsd.org 2009/05/05 07:51:36Darren Tucker
[regress/multiplex.sh] Always specify ssh_config for multiplex tests: prevents breakage caused by options in ~/.ssh/config. From Dan Peterson.
2006-01-31 - dtucker@cvs.openbsd.org 2005/04/25 09:54:09Damien Miller
[regress/multiplex.sh] Don't call cleanup in multiplex as test-exec will cleanup anyway found by tim@, ok djm@ NB. ID sync only, we already had this
2005-04-25 - (dtucker) [regress/multiplex.sh] Put control socket in /tmp so runningDarren Tucker
"make tests" works even if you'r building on a filesystem that doesn't support sockets. From deengert at anl.gov, ok djm@
2005-04-25 - (dtucker) [regress/multiplex.sh] Remove cleanup call since test-exec.shDarren Tucker
will clean up anyway. From tim@
2005-04-25 - (dtucker) [regress/multiplex.sh] Use "kill -0 $pid" to check for theDarren Tucker
existence of a process since it's more portable. Found by jbasney at ncsa.uiuc.edu; ok tim@
2005-03-07 - dtucker@cvs.openbsd.org 2005/02/27 11:33:30Darren Tucker
[multiplex.sh test-exec.sh sshd-log-wrapper.sh] Add optional capability to log output from regress commands; ok markus@ Use with: make TEST_SSH_LOGFILE=/tmp/regress.log
2004-12-06 - djm@cvs.openbsd.org 2004/11/07 00:32:41Darren Tucker
[multiplex.sh] regression tests for new multiplex commands
2004-08-29 - (dtucker) [regress/multiplex.sh] Skip test on platforms that do notDarren Tucker
support FD passing since multiplex requires it. Noted by tim@
2004-06-22 - markus@cvs.openbsd.org 2004/06/22 03:12:13Darren Tucker
[regress/envpass.sh regress/multiplex.sh] more portable env passing tests
2004-06-18 - dtucker@cvs.openbsd.org 2004/06/18 06:15:51Darren Tucker
[multiplex.sh] Use -S for scp/sftp to force the use of the ssh being tested. ok djm@,markus@
2004-06-18 - djm@cvs.openbsd.org 2004/06/17 14:53:27Damien Miller
[regress/multiplex.sh] shared connection env passing regress test
2004-06-17 - (dtucker) [regress/multiplex.sh] Increase sleep time to 120 sec (60 is notDarren Tucker
enough for slow systems, especially if they don't have a kernel RNG).
2004-06-17 - (dtucker) [regress/multiplex.sh] add EXEEXT for those platforms that needDarren Tucker
it.
2004-06-17 - dtucker@cvs.openbsd.org 2004/06/17 06:19:06Darren Tucker
[regress/multiplex.sh] Add small description of failing test to failure message; ok djm@
2004-06-17 - dtucker@cvs.openbsd.org 2004/06/17 06:00:05Darren Tucker
[regress/multiplex.sh] Use DATA and COPY for test data rather than hard-coded paths; ok djm@
2004-06-17 - dtucker@cvs.openbsd.org 2004/06/17 05:51:59Darren Tucker
[regress/multiplex.sh] Remove datafile between and after tests, kill sshd rather than wait; ok djm@
2004-06-16 - dtucker@cvs.openbsd.org 2004/06/16 13:16:40Darren Tucker
[multiplex.sh] Silence multiplex sftp and scp tests. ok markus@
2004-06-16 - djm@cvs.openbsd.org 2004/06/13 15:04:08Darren Tucker
[regress/Makefile regress/test-exec.sh, added regress/multiplex.sh] regress test for client multiplexing; ok markus@