summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
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.
2019-06-27Add more option tests to req, ts, x509 and verify in appstest.shKinichiro Inoguchi
2019-06-24Add more options test to ocsp in appstest.shKinichiro Inoguchi
2019-06-23Add more option test to dgst in appstest.shKinichiro Inoguchi
2019-06-22Add more option tests to ca in appstest.shKinichiro Inoguchi
2019-06-21adapt for key shielding API changes (const removal)Damien Miller
2019-06-19use REGRESS_EXPECTED_FAILURESMarc Espie
okay bluhm@
2019-06-14check for convtime() refusing to accept times that resolve to LONG_MAXDamien Miller
Reported by Kirk Wolf bz2977; ok dtucker
2019-06-13Add more options to pkcs12 and smime in appstest.shKinichiro Inoguchi
2019-06-11Do not access a NULL pointer if a table contains a horizontal lineIngo Schwarze
next to a table line having fewer columns than the table as a whole. Bug found by Stephen Gregoratto <dev at sgregoratto dot me> with aerc-config(5).
2019-06-10Add pkcs12 options and smime tests for appstest.shKinichiro Inoguchi
- Add some options to pkcs12 test. - Add smime tests for encrypt, decrypt and pk7out.
2019-05-21forgot to add the testcase sorryMarc Espie
2019-05-21while writing new code, I just figured out I fucked upMarc Espie
2019-04-30In HTML output, allow switching the desired font for subsequentIngo Schwarze
text without printing an opening tag right away, and use that in the .ft request handler. While here, garbage collect redundant enum htmlfont and reduce code duplication in print_text(). Fixing an assertion failure reported by Michael <Stapelberg at Debian> in pmRegisterDerived(3) from libpcp3-dev.
2019-04-28Add unit tests for user@host and URI parsing.Darren Tucker
2019-04-21When calling an empty macro, do not clobber existing arguments.Ingo Schwarze
Fixing a bug found with the groffer(1) version 1.19 manual page following a report from Jan Stary.
2019-04-21Implement the roff .break request (break out of a .while loop).Ingo Schwarze
Jan Stary <hans at stare dot cz> found it in an ancient groffer(1) manual page (version 1.19) on MacOS X Mojave. Having .break not implemented wasn't a particularly bright idea because obviously, it tended to cause infinite loops.
2019-04-18Add tests for sshd -T -C with Match.Darren Tucker
2019-03-30tweak comment lines.YASUOKA Masahiko
2019-03-30Add a test case forasou
- adding 0.0.0.0 route ok yasuoka
2019-03-21Test that "calendar -A 0" on a Friday doesn't include weekend events.Todd C. Miller
From Andy Bradford
2019-03-01Wrap .Sh/.SH sections and .Ss/.SS subsections in HTML <section> elementsIngo Schwarze
as recommended for accessibility by the HTML 5 standard. Triggered by a similar, but slightly different suggestion from Laura Morales <lauretas at mail dot com>.
2019-02-16Add tests for pkeyutlKinichiro Inoguchi
2019-02-06Let roff_getname() end the roff identifier at a tab characterIngo Schwarze
and audit all its callers whether termination is handled correctly. Resulting improvements: * An escape or tab ending the macro name in a macro invocation is discarded, and argument processing is started after it. * An escape or tab ending a name in ".if d" and ".if r" is preserved. * An escape ending a name in ".ds" causes the whole request to be ignored. * A tab ending a name in ".ds" becomes part of the string. * An escape or tab ending a name in ".rm" causes the rest of the line to be ignored. * An escape or tab ending the first name in ".als", ".rn", or ".nr" causes the whole request to be ignored. Kurt Jaeger <pi at FreeBSD> made me aware of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235456#c0 and in that bug report, comment 0 item (3) is a special case of this class of issues. Yes, the "mh" manual pages are no doubt among the worst on the planet.
2019-02-04add tests for PKG_CONFIG_$PACKAGE_$VARIABLEJasper Lievisse Adriaanse