summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/unittests
AgeCommit message (Collapse)Author
2019-06-21adapt for key shielding API changes (const removal)Damien Miller
2019-06-14check for convtime() refusing to accept times that resolve to LONG_MAXDamien Miller
Reported by Kirk Wolf bz2977; ok dtucker
2019-04-28Add unit tests for user@host and URI parsing.Darren Tucker
2019-01-21adapt to changes in KEX API and file removalsDamien Miller
2019-01-21adapt to bignum1 API removal and bignum2 API changeDamien Miller
2018-12-27ssh_packet_set_state() now frees ssh->kex implicitly, so don'tDamien Miller
do explicit kex_free() beforehand
2018-11-23Remove now-unneeded ifdef SIGINFO around handler since it is now alwaysDarren Tucker
used for SIGUSR1 even when SIGINFO is not defined. This will make things simpler in -portable.
2018-11-22Output info on SIGUSR1 as well as SIGINFO to resync with portable.Darren Tucker
2018-10-17add some knobs:Damien Miller
UNITTEST_FAST?= no # Skip slow tests (e.g. less intensive fuzzing). UNITTEST_SLOW?= no # Include slower tests (e.g. more intensive fuzzing). UNITTEST_VERBOSE?= no # Verbose test output (inc. per-test names). useful if you want to run the tests as a smoke test to exercise the functionality without waiting for all the fuzzers to run.
2018-09-13missed a bit of openssl-1.0.x API in this unittestDamien Miller
2018-09-13use only openssl-1.1.x API here tooDamien Miller
2018-09-12Include certs with multiple RSA signature variants in test dataDamien Miller
Ensure that cert->signature_key is populated correctly
2018-09-12s/sshkey_demote/sshkey_from_private/gDamien Miller
2018-07-16memleak in unittest; found by valgrindDamien Miller
2018-07-13fix leaks in unit test; with this, all unit tests are leak freeDamien Miller
(as far as valgrind can spot anyway)
2018-07-04deal with API rename: match_filter_list() => match_filter_blacklist()Damien Miller
2018-03-03unit tests for new authorized_keys options APIDamien Miller
2018-02-08some helpers to check verbose/quiet modeDamien Miller
2017-12-21missed one (unbreak after ssh/lib removal)Damien Miller
2017-12-21unbreak unit tests after removal of src/usr.bin/ssh/libDamien Miller
2017-05-08fix for new SSH_ERR_KEY_LENGTH error valueDamien Miller
2017-04-30remove SSHv1 support from unit testsDamien Miller
2017-04-17Change COMPILER_VERSION tests which limited additional warnings to gcc4Jonathan Gray
to instead skip them on gcc3 as clang can handle -Wpointer-sign and -Wold-style-definition.
2017-03-14Add unit test for convtime().Darren Tucker
2017-03-14Add ASSERT_LONG_* helpers.Darren Tucker
2017-02-19add test cases for C locale; ok schwarze@Damien Miller
2017-02-03unit test for match_filter_list() function; still want a betterDamien Miller
name for this...
2016-12-19remove testcase that depends on exact output and behaviour ofDamien Miller
snprintf(..., "%s", NULL)
2016-11-01Clean up MALLOC_OPTIONS. For the unittests, move MALLOC_OPTIONS andTheo Buehler
TEST_ENV to unittets/Makefile.inc. ok otto
2016-10-31Remove the obsolete A and P flags from MALLOC_OPTIONS.Theo Buehler
ok dtucker
2016-09-30In ssh tests set REGRESS_FAIL_EARLY with ?= so that the environmentAlexander Bluhm
can change it. OK djm@
2016-09-28Add a makefile rule to create the ssh library when regress needsAlexander Bluhm
it. This allows to run the ssh regression tests without doing a "make build" before. Discussed with dtucker@ and djm@; OK djm@
2016-09-21disable tests for affirmative negated match after backout ofDamien Miller
match change
2016-08-23add tests for addr_match_list()Damien Miller
2016-08-19add tests for matching functionsDamien Miller
2016-07-04DEBUGLIBS has been broken since the gcc4 switch, so delete it. CFLAGSPhilip Guenther
contains -g by default anyway problem noted by Edgar Pettijohn (edgar (at) pettijohn-web.com) ok millert@ kettenis@ deraadt@
2016-05-30stricter malloc.conf(5) options for utf8 testsIngo Schwarze
2016-05-30Fix two rare edge cases:Ingo Schwarze
1. If vasprintf() returns < 0, do not access a NULL pointer in snmprintf(), and do not free() the pointer returned from vasprintf() because on some systems other than OpenBSD, it might be a bogus pointer. 2. If vasprintf() returns == 0, return 0 and "" rather than -1 and NULL. Besides, free(dst) is pointless after failure (not a bug). One half OK martijn@, the other half OK deraadt@; committing quickly before people get hurt.
2016-05-26test the new utf8 moduleIngo Schwarze
2016-05-03unit tests for sshbuf_dup_string()Damien Miller
2016-05-02unit and regress tests for SHA256/512; ok markusDamien Miller
2015-12-07basic unit tests for rsa-sha2-* signature typesDamien Miller
2015-10-06adapt to recent sshkey_parse_private_fileblob() API changeDamien Miller
2015-08-05adjust for RSA minimum modulus switch; ok deraadt@Damien Miller
2015-07-15regen RSA1 test keys; the last batch was missing their private partsDamien Miller
2015-07-10Adapt tests, now that DSA if off by default; use PubkeyAcceptedKeyTypesMarkus Friedl
and PubkeyAcceptedKeyTypes to test DSA.
2015-07-07regen test data after mktestdata.sh changesMarkus Friedl
2015-07-07adapt tests to new minimum RSA size and default FP formatMarkus Friedl
2015-07-03legacy v00 certificates are gone; adapt and don't try to test them;Damien Miller
"sure" markus@ dtucker@
2015-07-01don't expect SSH v.1 in unittestsDamien Miller