Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-20 | Add a couple of tests for handling of tcp connections. | Martijn van Duren | |
2023-11-20 | Still need engine.h for ENGINE_free() | Theo Buehler | |
But do away with the OPENSSL_NO_ENGINE dance. | |||
2023-11-19 | Remove last OPENSSL_NO_ENGINE from libssl regress | Theo Buehler | |
2023-11-19 | Unifdef OPENSSL_NO_ENGINE in libcrypto regress | Theo Buehler | |
2023-11-18 | Sync example.c and minigzip.c with upstream. | Theo Buehler | |
This silences lots of K&R warning noise. | |||
2022-03-24 | Import upstream madler/zlib test files and run them with our libz. | Alexander Bluhm | |
2023-11-16 | Add 3 tests for when getbulk reaches EOMV. | Martijn van Duren | |
2023-11-16 | Add expected output files, missed in previous commit. I hope our grep is | Anton Lindqvist | |
producing the wanted output at this point. | |||
2023-11-15 | Add regress test for "grep -m" behavior. From Crystal Kolipe. | Todd C. Miller | |
2023-11-13 | reduce the man(7) global indentation from 7n to 5n, see man_term.c rev. 1.197 | Ingo Schwarze | |
2023-11-13 | Retire the libcsi regress | Theo Buehler | |
2023-11-13 | Add 2 tests to make sure getbulkrequests return the correct error index. | Martijn van Duren | |
2023-11-11 | Cope with recent rt_hash() const changes. | Anton Lindqvist | |
2023-11-11 | Ignore -N in "gzip -dN <in.gz" and "zcat -N in.gz" | George Koehler | |
Have -c override -N, like other gzip implementations. Before, our -N (decompress to stored name) overrode -c (cat to stdout) and crashed with a pledge violation, because the pledge for -c excludes wpath. Guilherme Janczak reported the pledge violation in July 2022 and provided a diff to prevent it, along with a regress test. I rewrote the diff and expanded the regress. ok kn@ millert@ | |||
2023-11-10 | Add an initial SNMPv3 regression test. | Martijn van Duren | |
2023-11-10 | Make further use of netcat server close barrier in regress to reduce | Anton Lindqvist | |
flakiness. | |||
2023-11-07 | Fix an error message left out in the mustDecodeHexString() conversion | Theo Buehler | |
2023-11-07 | Pull up the handling of the two webcrypto special snowflakes | Theo Buehler | |
2023-11-07 | Drop a useless line and bump copyright years | Theo Buehler | |
2023-11-07 | Unwrap a few lines | Theo Buehler | |
2023-11-07 | Wrap hex.DecodeString() into mustDecodeHexString() | Theo Buehler | |
The hex decoding is only done from the JSON files provided by the wycheproof-testvectors package. Failure is always fatal. So there is no need for repeated error checks, and we can use an ergonomic wrapper. Also rework the calculation of the message digest from input data this had a similar deficit. All in all this shaves off about 10% of the code and removes a lot of tedious repetition. | |||
2023-11-07 | Use maps to retrieve various AES variants | Theo Buehler | |
2023-11-07 | Convert hashEvpMdFromString() to a map | Theo Buehler | |
2023-11-07 | Add stringer interfaces to the test groups | Theo Buehler | |
This simplifies and unifies a lot of error messages. | |||
2023-11-06 | Pull everything except the actual run call out of the closure | Theo Buehler | |
The determination of the test group type and the JSON unmarshalling can be done before the closure without performance impact. This is more readable and eliminates the need of a temporary variable again. Suggested by jsing | |||
2023-11-06 | Introduce testGroupFromAlgorithm() | Theo Buehler | |
This factors another ugly switch into a helper function. This should probably become a map eventually, but for now keep things straightforward. | |||
2023-11-06 | Add a wycheproofTestGroupRunner interface | Theo Buehler | |
This allows us to use a simpler way of running the individual test groups and gets rid of an ugly mostly copy-pasted switch inside a closure. | |||
2023-11-06 | Add aliases for AES AEAD constructions and ChaCha | Theo Buehler | |
These used the wycheproofTestGroupAead type but an upcoming change requires to change this. Introduce the aliases now to make the next diff cleaner. | |||
2023-11-06 | Fix a for loop bug introduced in the concurrency refactor | Theo Buehler | |
Due to Go's idiosyncratic semantics of for loops, tests would only run some of the test groups in the JSON file because by the time the closure is called, the array index could be changed. For example, on fast 8 core machines, the CMAC tests would run the last test group with key size 320 eight times rather than each of the eight test groups once. Make a copy of the pointer before passing it to the closure to avoid this issue. Simpler version of my initial fix from jsing | |||
2023-11-06 | Uncomment json webcrypto line. Packages will have caught up... | Theo Buehler | |
2023-11-06 | Mark a couple of tests as broken, now that the sysORTable is gone/empty. | Martijn van Duren | |
Relying on the live snmpd(8) metrics is brittle and this regress test should probably move to a custom agent in a similar fashion to the custom manager from the snmpd(8) regress. Pointed out by anton@ | |||
2023-11-04 | With the move of SNMPv2-SMI::snmpV2 into application_internal.c, it's no | Martijn van Duren | |
longer possible to register objects underneath this region. This effectively made a few snmp(1) regress tests unusable, which essentially don't belong here. Simply remove these tests. | |||
2023-11-03 | Make netcat tests less flaky by ensuring the server has terminated before | Anton Lindqvist | |
examining the outcome. ok bluhm@ | |||
2023-11-01 | Specify ssh binary to use instead of relying on installed one. Fixes | Darren Tucker | |
test failures in -portable when running tests prior to installation. | |||
2023-11-01 | add some tests of forced commands overriding Subsystem directives | Damien Miller | |
2023-10-31 | Remove 3 expected failures those got fixed in the regress code. | Claudio Jeker | |
2023-10-31 | unlink("/") just needs to error. Checking for a specific errno makes | Claudio Jeker | |
little sense here since there are multiple possible errnos that could be returned. On OpenBSD this returns EISDIR and not EBUSY. OK mbuhl@ millert@ | |||
2023-10-31 | When creating a file in a directory the file gid is inherited from | Claudio Jeker | |
the directory and so checking against getgid() makes no sense. OK mbuhl@ millert@ | |||
2023-10-31 | Ignore closefrom() failure. This fails normally since fd 4 and up are all | Claudio Jeker | |
closed. OK mbuhl@ millert@ | |||
2023-10-31 | Don't try to use sudo inside sshd log wrapper. We still need to | Darren Tucker | |
check if we're using sudo since we don't want to chown unecessarily, as on some platforms this causes an error which pollutes stderr. We also don't want to unnecessarily invoke sudo, since it's running in the context of the proxycommand, on *other* platforms it may not be able to authenticate, and if we're using SUDO then it should already be privileged. | |||
2023-10-31 | Only try to chmod logfile if we have sudo. If we don't have sudo | Darren Tucker | |
then we won't need to chmod. | |||
2023-10-30 | move PKCS#11 setup code to test-exec.sh so it can be reused elsewhere | Damien Miller | |
2023-10-30 | tidy and refactor PKCS#11 setup code | Damien Miller | |
Replace the use of a perl script to delete the controlling TTY with a SSH_ASKPASS script to directly load the PIN. Move PKCS#11 setup code to functions in anticipation of it being used elsewhere in additional tests. Reduce stdout spam | |||
2023-10-30 | Add support for OpenSSL 3.1 interop tests | Theo Buehler | |
Until OpenSSL 3.1 has replaced OpenSSL 3.0 on most architectures, run both tests. Installed packages of OpenSSL 3.0 will update automatically to 3.1, so regress runners should not need to do anything. | |||
2023-10-29 | Add a few tests to make sure that getnext requests on/under a registered | Martijn van Duren | |
instance with a registered region above cause a recursion in the tree. | |||
2023-10-29 | Add a regress test to make sure that agentx responses equal to | Martijn van Duren | |
searchrange.end are rejected. | |||
2023-10-29 | Only try to chown logfiles that exist to prevent spurious errors. | Darren Tucker | |
2023-10-27 | Add a test that would cause a use after free previously by sending a | Martijn van Duren | |
protocol error-ed message and immediately followed up by a connection close. OK tb@ | |||
2023-10-27 | Include wait(2) status in error message, in the hopes of providing clues | Anton Lindqvist | |
on why this occasionally fails. | |||
2023-10-26 | make use of bsd.regress.mk in extra and interop targets; ok dtucker@ | Anton Lindqvist | |