summaryrefslogtreecommitdiff
path: root/regress/usr.bin
AgeCommit message (Collapse)Author
2024-07-01use "lcd" to change directory before "lls" rather then "cd", sinceDamien Miller
the directory we're trying to list is local. Spotted by Corinna Vinschen
2024-06-20Work around dbclient cipher and mac query bug.Darren Tucker
Unlike earlier versions, recent Dropbear (at least v2024.85) requires a host arg when querying supported ciphers and macs via "-c/-m help". Earlier versions accept but do not require it, so always provide it. If these queries fail, skip the test with a warning.
2024-06-20Remove dropbear key types not supported by current OpenSSH.Darren Tucker
Allows subsequent test runs to work if OpenSSH is rebuilt w/out OpenSSL.
2024-06-19Provide defaults for ciphers and macs if querying for them fails sinceDarren Tucker
on some versions of Dropbear (at least v2024.85) "-m help" doesn't seem to work. Enable all supported pubkey algorithms in the server.
2024-06-19Use ed25519 keys for kex tests since that's supported by OpenSSH even whenDarren Tucker
built without OpenSSL. Only test diffie-hellman kex if OpenSSH is compiled with support for it.
2024-06-19Rework dropbear key setup to always generate ed25519 keys, other typesDarren Tucker
only if OpenSSH has support for the corresponding key type.
2024-06-18Re-enable ssh-dss tests if ssh is compiled with DSA supportDarren Tucker
2024-06-18Stop using DSA in dropbear interop tests.Anton Lindqvist
2024-06-16same treatment for this testDamien Miller
2024-06-16penalty test is still a bit racyDamien Miller
2024-06-15crank up penalty timeouts so this should work on even the slowest ofDamien Miller
test builders
2024-06-14split the PerSourcePenalties test in two: one tests penalty enforcementDamien Miller
but not penalty expiry, the other tests penalty expiry. This lets us disable the expiry testing in certain CI test environments.
2024-06-14don't redirect stderr for ssh-keyscan we expect to succeedDamien Miller
2024-06-14specify an algorithm for ssh-keyscan, otherwise it will makeDamien Miller
multiple attempts simultaneously and confuse the test
2024-06-11fix PIDFILE handling, broken for SUDO=doas in last commit hereDamien Miller
2024-06-06regress test for PerSourcePenaltiesDamien Miller
2024-06-06make sure logs are saved from sshd run via start_sshdDamien Miller
2024-06-06simplifyDamien Miller
2024-06-06prepare for PerSourcePenalties being enabled by default in futureDamien Miller
2024-05-22this test has been broken since 2014, and has been testing the sameDamien Miller
key exchange algorithm repeatedly instead of testing all of them. Spotted by nreilly AT blackberry.com in bz3692 Who broke the test? me.
2024-05-19Add missing kex-names.c source file required since the ssh split.Anton Lindqvist
2024-05-17allow overriding the sshd-session binary pathDamien Miller
2024-05-16Check that lower-case variants of UTF-16 surrogate escape sequencesIngo Schwarze
are rejected with the correct error message.
2024-05-16Improve coverage of edge cases for 3-byte UTF-8 sequences.Ingo Schwarze
Coverage for 2-byte and 4-byte sequences was already reasonable.
2024-05-16Add a complete suite of tests covering ASCII characters in UTF-8 spelling.Ingo Schwarze
Most of this goes to nogroff.in rather than ascii.in for now because groff-1.23.0 is buggy as hell in this respect and i'm too lazy to debug the horrific function make_glyph_node() in the file groff/src/roff/troff/node.cpp right now.
2024-05-15Add a complete set of tests for all C0 and C1 control characters.Ingo Schwarze
This is particularly useful to make sure that man(1) does not let control characters sneak through to the output side, no matter how hard an input file tries to deceive it.
2024-05-14fix a char signedness bug such that this testing code becomes ableIngo Schwarze
to display the contents of databases containing UTF-8 strings on signed char architectures: for example on i386 and amd64, UTF-8 bytes are negative...
2024-04-17Only use the first egress interface in $IFIDX and $IFLLADDR. SystemsClaudio Jeker
can have more then one interface. This only works if ther first egress interface is a ethernet interface (P2P interfaces have no LLADDR) but that was already buggy before this. OK bluhm@ martijn@
2024-04-03Since ssh-agent(1) is only readable by root by now, use ssh(1) whileAnton Lindqvist
generating data in tests.
2024-03-29Use egrep instead of grep -E. Some plaforms don't have the latter so thisDarren Tucker
makes things easier in -portable.
2024-03-26test -h is the POSIXly way of testing for a symlink. Reduces diff vsDarren Tucker
Portable.
2024-03-25optional debuggingDamien Miller
2024-03-25Verify string returned from local shell command.Darren Tucker
2024-03-25Improve shell portability: grep -q is not portable so redirect stdout,Darren Tucker
and use printf instead of relying on echo to do \n substitution. Reduces diff vs Portable.
2024-03-25Save error code from SSH for use inside case statement, from portable.Darren Tucker
In some shells, "case" will reset the value of $?, so save it first.
2024-03-25Increase timeout. Resyncs with portable where some of the testDarren Tucker
VMs are slow enough for this to matter.
2024-03-25In PuTTY interop test, don't assume the PuTTY major version is 0.Darren Tucker
Patch from cjwatson at debian.org via bz#3671.
2024-03-13Add endbr64/bti instruction at the start of the gadget, otherwise we'llMark Kettenis
get a SIGILL when the gadget gets call. Fix the instruction that sets the syscall number on arm64. ok anton@, deraadt@
2024-03-08Invoke ProxyCommand that uses stderr redirection via $TEST_SHELL.Darren Tucker
Fixes test when run by a user whose login shell is tcsh. Found by vinschen at redhat.com.
2024-03-03Reinstate a test that was accidentally removed in previousTheo Buehler
2024-03-02Unhook some gost testsTheo Buehler
2024-02-27Cope with recent ctfdump output changes.Anton Lindqvist
2024-02-20Include the test pattern that resulted in an infinite loop beforeClaudio Jeker
rmatch.c rev 1.4.
2024-02-20Add rsync-unitClaudio Jeker
2024-02-20Add a unit test for rsync special rmatch() function.Claudio Jeker
One pattern is currently disabled since it results in an infinite loop. Fix for that is on the way.
2024-02-19Always define puttysetup function.Darren Tucker
2024-02-09Expand the set of ciphers, MACs and KEX methods in the PuTTY interop tests.Darren Tucker
2024-02-09Factor out PuTTY setup and call when needed.Darren Tucker
This allows us to avoid PuTTY key setup when it's not needed, which speeds up the overall test run by a couple of percent.
2024-02-08No that we load MIB files at snmpd start-up chances that the sleep buildMartijn van Duren
into the regress test don't suffice anymore for slow regress machines. (Ab)use the agentx socket (which gets created after all the MIB files have been parsed) to detect if snmpd is available. For now we poll at 0.1s intervals for a total of 100 tries. found by and earlier diff tested by and OK anton@
2024-01-26Add 'openssl x509 -new' functionality to the libcrypto CLI utilityJob Snijders
The ability to generate a new certificate is useful for testing and experimentation with rechaining PKIs. While there, alias '-key' to '-signkey' for compatibility. with and OK tb@