summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
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-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-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.
2021-07-17Make the mandoc.db(5) tests work with BSDOBJDIR set,Ingo Schwarze
by stripping initial parts of paths the do not matter for the features being tested from man(1) output. Problem found and reported by, solution developed together with, and OK anton@
2021-07-14Adjust expected certificate error message. Caused by recent work to supportanton
partial chains in libcrypto. ok bluhm@
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion. Work done and verified by Ashton Fagg <ashton@fagg.id.au> ok deraadt@ semarie@ claudio@
2021-07-12fix some broken tests; clean up outputDamien Miller
2021-07-10honor objdiranton
2021-07-06alarm(3) cannot fail, remove error handling.Alexander Bluhm
suggested by millert@
2021-06-28delete the two pairs of extra blank lines from expected man(7) terminalIngo Schwarze
output that are no longer printed since man_term.c rev. 1.189
2021-06-21Add GnuTLS interoperability test in appstest.shKinichiro Inoguchi
2021-06-20Adjust snmp regress to recent changesMartijn van Duren
OK sthen@
2021-06-10Use $SUDO when reading sshd's pidfile here too.Darren Tucker
2021-06-10Use $SUDO when reading sshd's pidfile in case it was created with a veryDarren Tucker
restrictive umask. This resyncs with -portable.
2021-06-10Set umask when creating hostkeys to prevent excessive permissions warning.Darren Tucker
2021-06-10Add regress test for SIGHUP restart while handling active andDarren Tucker
unauthenticated clients. Should catch anything similar to the pselect bug just fixed in sshd.c.
2021-06-08test that UserKnownHostsFile correctly accepts multiple arguments;Damien Miller
would have caught readconf.c r1.356 regression
2021-06-08test argv_split() optional termination on commentsDamien Miller
2021-06-08Add testcases from bz#3319 for IPQoS and TunnelDevice being overriddenDarren Tucker
on the command line.
2021-06-08sprinkle some "# comment" at end of configuration lines to testDamien Miller
comment handling
2021-06-08more descriptive failure messageDamien Miller
2021-06-07test AuthenticationMethods inside a Match block as well as inDamien Miller
the main config section
2021-06-07prepare for stricter sshd_config parsing that will refuse a configDamien Miller
that has {Allow,Deny}{Users,Groups} on a line with no subsequent arguments. Such lines are permitted but are nonsensical noops ATM
2021-06-02test private use areas some more as they have proven fragileIngo Schwarze
2021-06-02Cleanup:Ingo Schwarze
1. Move invalid two-byte sequences after valid ones and make their descriptions easier to understand. 2. Replace the wrong and confusing expression "middle byte" with the correct term "start byte". 3. Add test lines for U+EFFFF and U+F0000. 4. Replace the unhelpful word "strange" with more descriptive terms. Arguably, nothing about this (or maybe everything?) is strange.
2021-06-02The wcwidth(3) of Plane 15 and Plane 16 Private Use CharactersIngo Schwarze
was changed from 0 to 1. Adjust the test results accordingly. Issue reported by bluhm@.
2021-06-02Merge back shell portability changes bringing it back in sync withDarren Tucker
-portable.
2021-06-01Use a default value for $OPENSSL, allowing it to be overridden.Darren Tucker
Do the same in the PuTTY tests since it's needed there and not exported by test-exec.sh.
2021-05-24Find openssl binary via environment variable. This allows overridingDarren Tucker
if necessary (eg in -portable where we're testing against a specific version of OpenSSL).
2021-05-21fix memleak in testDamien Miller
2021-05-21also check contents of remaining stringDamien Miller
2021-05-21unit test for misc.c:strdelim() that mostly servces to highlight itsDamien Miller
inconsistencies
2021-05-17copy riscv support from regress/sys/kern/stackpivot/pivot.hTheo de Raadt
2021-05-16test font modifiers in the layout; related to tbl_html.c rev. 1.29Ingo Schwarze
2021-05-12Modify cms test in appstest.sh to work with ec cert/keyKinichiro Inoguchi
2021-05-07Increase ConnectionAttempts from 4 to 10 as the tests occasionally timeDarren Tucker
out on heavily loaded hosts.
2021-05-07dump out a usable private key string too; inspired by Tyson WhiteheadDamien Miller