summaryrefslogtreecommitdiff
path: root/regress
AgeCommit message (Collapse)Author
2021-08-30Remove tests that are now covered by regress/lib/libssl/verifyTheo Buehler
2021-08-30hook verify regress test to buildTheo Buehler
2021-08-30Revert accidental commitTheo Buehler
2021-08-30link verify regress tests to buildTheo Buehler
2021-08-30Reimplement part of the openssl/x509 regress tests in CTheo Buehler
Instead of using s_client and s_server and complicated shell scripts, we can reuse the framework from the ssl_get_shared_cipher() regress test and inspect the verify return value directly. Discussed with beck jan jsing
2021-08-30Test for the pathetic case that the 2nd unveil inClaudio Jeker
unveil(NULL, NULL); if (fork() == 0) unveil("/", "rwx") fails with EPERM.
2021-08-30Admit that we return error 20 in the failure case here. ChangingBob Beck
our verifier to return 21 results in other regress failures in ruby and perl.
2021-08-30Check that fchdir() works. The problem in unveil was fixed some time ago.Claudio Jeker
2021-08-30Make lines not wrap on 80 char terminals. Code gets more readable.Claudio Jeker
2021-08-30Fix Jan's regress in openssl/x509 to do what it says it does,Bob Beck
then fix the only thing it still has complaints about which is that we don't return the leaf version of the error code when we can't verify the leaf (as opposed to the rest of the chain) ok jan@ tb@
2021-08-30adapt to RSA/SHA1 deprectationDamien Miller
2021-08-29Pass the -quiet option to openssl s_server to make it ignore EOF.Theo Buehler
This makes some tests run from the Makefile behave as they should.
2021-08-29libagentx regress relied on snmp(1) defaulting to -v2c -cpublic. Make thisMartijn van Duren
explicit. Pointed out and OK bluhm@
2021-08-29Add back the echo Q thing.Theo Buehler
2021-08-29Use s_server -naccept 1 and remove echo "Q" | openssl s_client hack.Theo Buehler
2021-08-28Only remove the directories if there's an obj/ or obj@Theo Buehler
2021-08-28Add a pass using the modern vfy with by_dir roots, code by me, script toBob Beck
generate certdirs by jsing, and make chicken sacrifies by tb. ok tb@ jsing@
2021-08-28Add case 2c to the go side. Don't tell jsing I touched go.Bob Beck
2021-08-27Add regress test testing having the root cert in the intermediate bundleBob Beck
2021-08-18Import regress tests for SM2. Not yet linked to the build.Theo Buehler
Part of Github PR #105
2021-08-11add new (unsupported) eddsa in certificate verify testsTheo Buehler
2021-08-11test -Oprint-pubkeyDamien Miller
2021-08-10Support two-character font names (BI, CW, CR, CB, CI)Ingo Schwarze
in the tbl(7) layout font modifier. Get rid of the TBL_CELL_BOLD and TBL_CELL_ITALIC flags and use the usual ESCAPE_FONT* enum mandoc_esc members from mandoc.h instead, which simplifies and unifies some code. While here, also support CB and CI in roff(7) \f escape sequences and in roff(7) .ft requests for all output modes. Using those is certainly not recommended because portability is limited even with groff, but supporting them makes some existing third-party manual pages look better, in particular in HTML output mode. Bug-compatible with groff as far as i'm aware, except that i consider font names starting with the '\n' (ASCII 0x0a line feed) character so insane that i decided to not support them. Missing feature reported by nabijaczleweli dot xyz in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992002. I used none of the code from the initial patch submitted by nabijaczleweli, but some of their ideas. Final patch tested by them, too.
2021-08-10adapt to scp -M flag change; make scp3.sh test SFTP mode tooDamien Miller
2021-08-08Although it's POSIX, not all shells used in Portable support theDarren Tucker
implicit 'in "$@"' after 'for i'.
2021-08-08Move setting of USER further down the startup In portable we have toDarren Tucker
change this and having it in the same hunk as the CVS Id string means applying changes fails every. single. time.
2021-08-08Drop -q in ssh-log-wrapper.sh to preserve logs.Darren Tucker
scp and sftp like to add -q to the command line passed to ssh which overrides the LogLevel we set in the config files and suppresses output to the debug logs so drop any "-q" from the invoked ssh. In the one case where we actually want to use -q in the banner test, call the ssh binary directly bypassing the logging wrapper.
2021-08-06Make diff invocation more portable. POSIX does not require diff to have -N,Darren Tucker
so compare in both directions with just -r, which should catch missing files in either directory.
2021-08-04regression test for scp -3Damien Miller
2021-08-03regression tests for scp SFTP protocol support; mostly by JakubDamien Miller
Jelen in GHPR#194 ok markus
2021-07-29Treat doas with arguments as a valid SUDO variable. Allows one toanton
specify SUDO="doas -n" which I do while running make regress. ok dtucker@
2021-07-29Ensure that the kill signal undergoing testing is not ignored.anton
ok bluhm@
2019-11-19Import NetBSD system call regression tests. They were written withAlexander Bluhm
ATF (Automated Testing Framework), so we use a small wrapper to map it to our bsd.regress.mk framework. Only half of the 80 NetBSD tests have been taken, the others need more work to adapt. Of them 34 syscall tests pass. Moritz Buhl ported the tests to OpenBSD.
2021-07-26Fix typo.Alexander Bluhm
from alf schlichting
2021-07-25Skip unit and makefile-based key conversion tests when we're buildingDarren Tucker
with OPENSSL=no.
2021-07-25Replace OPENSSL as the variable that points to the openssl binaryDarren Tucker
with OPENSSL_BIN. This will allow us to use the OPENSSL variable from mk.conf or the make(1) command line indicating if we're building with our without OpenSSL, and ultimately get the regress tests working in the OPENSSL=no configuration.
2021-07-24Add basic regression tests for strchr() and strrchr().Visa Hankala
2021-07-24Skip RFC4716 format import and export tests when built without OpenSSL.Darren Tucker
2021-07-24test for first-match-wins in authorized_keys environment=Damien Miller
options
2021-07-23Simplify keygen-convert by using $SSH_KEYTYPES directly.Darren Tucker
2021-07-23Test conversion of ed25519 and ecdsa keys too.Darren Tucker
2021-07-23Add test for exporting pubkey from a passphrase-protected private key.Darren Tucker
2021-07-23regression test for time-limited signature keysDamien Miller
2021-07-19Use SUDO when setting up hostkey.Darren Tucker
2021-07-19Increase time margin for rekey tests. Should help reliability on veryDarren Tucker
heavily loaded hosts.
2021-07-19Add test for host key verification via SSHFP records. This requiresDarren Tucker
some external setup to operate so is disabled by default (see comments in sshfp-connect.sh).
2021-07-19Add ed25519 key and test SSHFP export of it. Only test RSA SSHFP exportDarren Tucker
if we have RSA functionality compiled in.
2021-07-19Group keygen tests together.Darren Tucker
2021-07-18Add test for ssh-keygen printing of SSHFP records.Darren Tucker
2021-07-18Let the mandoc.db(5) test suite work with parallel make (make -j),Ingo Schwarze
by making sure that different tests use different directory names for their work such that they do not collide. As a side benefit, this allows keeping the complete working directories of the tests until "make cleandir" is run, which may occasionally help debugging when something breaks. The failure with make -j was detected and reported by anton@, who also reviewed, tested, and OK'ed this somewhat lengthy patch.