summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
2019-11-09Add test for req -addext in appstest.shKinichiro Inoguchi
2019-11-05Remove trailing space in appstest.shKinichiro Inoguchi
2019-11-05Add test for cms in appstest.shKinichiro Inoguchi
2019-11-03Add RSA-PSS test for genpkey in appstest.shKinichiro Inoguchi
2019-11-01more additional source filesDamien Miller
2019-11-01additional source files here tooDamien Miller
2019-11-01adapt to extra sshkey_sign() argument and additional dependenciesDamien Miller
2019-11-01skip security-key key types for tests until we have a dummyDamien Miller
U2F middleware to use.
2019-10-31Add RSA OAEP test for pkeyutl in appstest.shKinichiro Inoguchi
2019-10-06Instead of running sed over the whole log to remove CRs, remove themDarren Tucker
only where it's needed (and confuses test(1) on at least OS X in portable).
2019-10-04more sshsig regress tests: check key revocation, the check-novalidateDamien Miller
signature test mode and signing keys in ssh-agent. From Sebastian Kinne (slightly tweaked)
2019-09-27Test for empty result in expected bits. Remove CRs from log as theyDarren Tucker
confuse tools on some platforms. Re-enable the 3des-cbc test.
2019-09-23Add lastcomm(1) test for system call from writeable memory. ThisAlexander Bluhm
requires that /usr/obj is mounted wxallowed, otherwise the test is skipped. Split the stack map test into two stack pointer validation tests, one during syscall and one in the trap handler. Currently the tests during system call fail on amd64 as the signal handler is not executed properly. On i386 and arm64 they pass. On armv7 something else is broken.
2019-09-13oops, commit correct version of the expected resultsIngo Schwarze
2019-09-13Improve validation of function names:Ingo Schwarze
1. Relax checking to accept function types of the form "ret_type (fname)(args)" (suggested by Yuri Pankov <yuripv dot net>). 2. Tighten checking to require the closing parenthesis.
2019-09-10Test that lastcomm(1) shows M flag if the stack pointer was not inAlexander Bluhm
stack memory.
2017-06-08Start with a clean /var/account/acct accounting file and turn onAlexander Bluhm
process accounting with accton(8). Each test executes a command with a unique name and checks the flags in the lastcomm(1) output. Run tests with fork, su, core, xsig, pledge, trap accounting.
2019-09-06Check for RSA support before using it for the user key, otherwise useDarren Tucker
ed25519 which is supported when built without OpenSSL.
2019-09-05adapt to print_indent() HTML_NOSPACE fix, html.c rev. 1.132Ingo Schwarze
2019-09-03adapt to new <p> output logic (html.c rev. 1.131)Ingo Schwarze
2019-09-03regress test for sshsig; feedback and ok markus@Damien Miller
2019-09-03only add plain keys to prevent any certs laying aroundDamien Miller
from confusing the test.
2019-08-30Use ed25519 for most hostkey rotation tests since it's supported even whenDarren Tucker
built without OpenSSL. Use RSA for the secondary type test if supported, otherwise skip it. Fixes this test for !OpenSSL builds.
2019-08-22Test did not compile due to missing symbols. Add source sshbuf-misc.cAlexander Bluhm
to regress as it was done in ssh make file. from Moritz Buhl
2019-08-02fix some memleaks in test_helper codeDamien Miller
bz#3037 from Jitendra Sharma
2019-07-26Restrict limit-keytype to types supported by build. This means we haveDarren Tucker
to skip a couple tests when only one key type is supported.
2019-07-25Only use supported key types during KRL test, preferring ed25519 sinceDarren Tucker
it's supported by both OpenSSL and non-OpenSSL builds.
2019-07-25Switch keys-command test from rsa to ed25519 since it's supported forDarren Tucker
both OpenSSL and non-OpenSSL builds.
2019-07-25Make certificate tests work with the supported key algorithms. AllowsDarren Tucker
tests to pass when built without OpenSSL.
2019-07-23Construct list of key types to test based on the types supported by theDarren Tucker
binaries.
2019-07-23Only use DSA key type in tests if binaries support it.Darren Tucker
2019-07-23Skip DH group generation test if binaries don't support DH-GEX.Darren Tucker
2019-07-23Only test conversion of key types supported by the binaries.Darren Tucker
2019-07-23Only add ssh-dss to allowed key types if it's supported by the binary.Darren Tucker
2019-07-20Remove the sleeps and thus races from the forwarding test. They wereDarren Tucker
originally required to work with Protocol 1, but now we can use ssh -N and the control socket without the sleeps. While there, suppress output fro the control exit commands.
2019-07-20Allow SLEEPTIME to be overridden.Darren Tucker
2019-07-20Move sleep time into a variable so that we can increase it for platformsDarren Tucker
or configurations that are much slower then usual.
2019-07-19add regression tests for scp for out-of-destination path file creationDamien Miller
by Harry Sintonen via Jakub Jelen in bz3007
2019-07-18new test for an empty text block; from rea@ via bapt@ (FreeBSD)Ingo Schwarze
2019-07-17Update appstest.shKinichiro Inoguchi
- Add -modulus for dsa sub command - Remove -nextprotoneg
2019-07-16adapt to sshbuf_dtob64() changeDamien Miller
2019-07-16Remove ssh1 files from CLEANFILES since ssh1 no longer supported.Darren Tucker
2019-07-16Update names of host key files in CLEANFILES to match recent changes toDarren Tucker
the tests.
2019-07-15unit tests for sshbuf_cmp() and sshbuf_find(); ok markusDamien Miller
2019-07-14unit tests for sshbuf_peek/poke bounds-checked random accessDamien Miller
functions. ok markus@
2019-07-11fix date which got broken by Mdocdate during commitIngo Schwarze
2019-07-11When parsing a tab character that is not preceded by a space characterIngo Schwarze
on an .It -column line, args() sets the MDOC_PHRASEQL flag to Quote the Last word of the Phrase. Even if it turns out this quoting is not needed because the word is already quoted for other reasons, clear the flag at the end of parsing the phrase, such that the flag does not leak to the next phrase. This patch fixes the bug that the trailing Macro on a line of the form .It "word<tab>word" Ta word Macro<eol> was incorrectly considered quoted and hence not parsed. Bug found by Havard Eidnes (he@) with the NetBSD gettytab(5) manual page: https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54361 Reported via Thomas Klausner (wiz@).
2019-07-05Add (recently added) rsa_oldfmt to CLEANFILES.Darren Tucker
2019-07-05Adapt the PuTTY/Conch tests to new key names.Darren Tucker
A recent regress change (2a9b3a2ce411d16cda9c79ab713c55f65b0ec257 in portable) broke the PuTTY and Twisted Conch interop tests, because the key they want to use is now called ssh-rsa rather than rsa. Adapt the tests to the new file names. bz#3020, patch from cjwatson at debian.org.
2019-07-05Add a sleep to allow forwards to come up.Darren Tucker
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.