summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh
AgeCommit message (Collapse)Author
2022-06-03test setenv in both client and server, test first-match-wins tooDamien Miller
2022-05-15regress test for in-place transfers and clobbering larger files withDamien Miller
smaller ones; would have caught last regression in scp(1)
2022-04-22Only run agent-ptrace.sh if gdb is available as all architectures do notAnton Lindqvist
ship with gdb.
2022-04-21It looks like we can't completely avoid waiting for processes toDarren Tucker
exit so retrieve the pid via controlmaster and use that.
2022-04-20Use ssh -f and ControlPersist to start up test forwards and ssh -O stopDarren Tucker
to shut them down intead of sleep loops. This speeds up the test by an order of magnitude.
2022-04-20Simplify forward-control test. Since we no longer need to support SSH1Darren Tucker
we don't need to run shell commands on the other end of the connection and can use ssh -N instead. This also makes the test less racy.
2022-03-31regression test for sftp cp commandDamien Miller
2022-02-20Aproximate realpath on the expected output by deduping leading slashes.Darren Tucker
Fixes test failure when user's home dir is / which is possible in some portable configurations.
2022-02-06Add test for empty hostname with port.Darren Tucker
2022-02-04Add unit tests for hpdelim.Darren Tucker
2022-02-01test 'ssh-keygen -Y find-principals' with wildcard principals;Damien Miller
from Fabian Stelzer
2022-01-21Enable all supported ciphers and macs in the server before tryingDarren Tucker
to benchmark them. Increase the data file size to get more signal.
2022-01-13Set LC_ALL in both local and remote shells so that sorted outputDarren Tucker
matches regardless of what the user's shell sets it to. ok djm@
2022-01-13Avoid %'s in commands (not used in OpenBSD, but used in -portable'sDarren Tucker
Valgrind test) being interpretted as printf format strings.
2022-01-12Use egrep when searching for an anchored string.Darren Tucker
2022-01-11remove hardcoded domain and use window.location.host, so this canDamien Miller
be run anywhere
2022-01-08Remove errant "set -x" left over from debugging.Darren Tucker
2022-01-08Enable all supported hostkey algorithms (but no others). Allows hostbasedDarren Tucker
test to pass when built without OpenSSL.
2022-01-06Don't explicitly set HostbasedAuthentication in sshd_config.Darren Tucker
It defaults to "no", and not explicitly setting it allows us to enable it for the (optional) hostbased test.
2022-01-06Add test for hostbased auth. It requires some external setup (seeDarren Tucker
comments at the top) and thus is disabled unless TEST_SSH_HOSTBASED_AUTH and SUDO are set.
2022-01-05select all RSA hostkey algorithms for UpdateHostkeys tests, not justDamien Miller
RSA-SHA1
2022-01-05regress test both sshsig message hash algorithms, possible now becauseDamien Miller
the algorithm is controllable via the CLI
2022-01-05regression test for find-principals NULL deref; from Fabian StelzerDamien Miller
2022-01-04Log command invocation in debugging log to aid in manually reproducingDarren Tucker
failing commands.
2022-01-04unbreak test: was picking up system ssh-add instead of the one supposedlyDamien Miller
being tested. Spotted by dtucker and using his VM zoo (which includes some systems old enough to lack ed25519 key support)
2021-12-19regression test for destination restrictions in ssh-agentDamien Miller
2021-12-18Make use of ntests variable, pointed out by clang 13.Anton Lindqvist
2021-12-14sys/param.h cleanup, mostly using MINIMUM() and <limits.h>Theo de Raadt
ok dtucker
2021-11-27whitespac eDamien Miller
2021-11-27regression test for match-principals. Mostly by Fabian StelzerDamien Miller
2021-11-18regression test for ssh-keygen -Y find-principals fix;Damien Miller
from Fabian Stelzer ok djm markus
2021-11-02crank SSH_SK_VERSION_MAJOR to match recent change in usr/bin/sshDamien Miller
2021-10-29sshsig: add tests for signing key validity and find-principalsDamien Miller
- adds generic find-principals tests (this command had none before) - tests certs with a timeboxed validity both with and without a restriced lifetime for the CA - test for a revoked CA cert by Fabian Stelzer
2021-10-29avoid signedness warning; spotted in -portableDamien Miller
2021-10-28increment SSH_SK_VERSION_MAJOR to match last changeDamien Miller
2021-10-06use libc SHA256 functions; make this work when compiled !WITH_OPENSSLDamien Miller
2021-10-01Add test for ssh hashed known_hosts handling.Darren Tucker
2021-09-30Fix up whitespace left by previous change removing privsep. No otherDarren Tucker
changes.
2021-09-30Remove (almost all) references to privsep. This removes several do..whileDarren Tucker
loops but does not change the indentation of the now-shallower loops, which will be done in a separate whitespace-only commit to keep changes of style and substance separate.
2021-09-30Use "skip" instead of "fatal" if SUDO isn't set for the *-command tests.Darren Tucker
This means running "make tests" without SUDO set will perform all of the tests that it can instead of failing on the ones it cannot run.
2021-09-29Test certificate hostkeys held in ssh-agent too. Would have caughtDamien Miller
regression fixed in sshd r1.575 ok markus@
2021-09-03Add test for client termination status on signal.Darren Tucker
Based on patch from Alexxz via github PR#235 with some tweaks, to match patch in bz#3281.
2021-09-01Fix ssh-rsa fallback for old PuTTY interop tests.Darren Tucker
2021-09-01Add a function to skip remaining tests. Many tests skip tests forDarren Tucker
various reasons but not in a consistent way and don't always clean up, so add that and switch the tests that do that over.
2021-08-31Specify path to PuTTY keys. Portable needs this and it makes noDarren Tucker
difference on OpenBSD, so resync them.
2021-08-31When running PuTTY interop tests and using a PuTTY version older thanDarren Tucker
0.76, re-enable the ssh-rsa host key algorithm (the 256 and 512 variants of RSA were added some time between 0.73 and 0.76).
2021-08-31Specify hostkeyalgorithms in sshd's default set for the SSHFP test,Darren Tucker
from djm@. Make the reason for when the test is skipped a bit clearer.
2021-08-30adapt to RSA/SHA1 deprectationDamien Miller
2021-08-11test -Oprint-pubkeyDamien Miller
2021-08-10adapt to scp -M flag change; make scp3.sh test SFTP mode tooDamien Miller