aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* update for mdc2 removalBrent Cook2015-06-201-5/+0
|
* use correct binary on native windows buildsBrent Cook2015-06-053-0/+9
|
* distcheck fixesBrent Cook2015-05-064-3/+6
|
* add app tests from regress/usr.bin/opensslBrent Cook2015-05-066-0/+563
| | | | | | These are added directly rather than imported by update.sh since they require local modifications and its not worth breaking everyone's git forks yet to import them through cvs2git.
* rework tests Makefile.amBrent Cook2015-03-212-15/+282
| | | | | | | | There are so many test exceptions that need handling that it is easier to simply edit it directly rather than doing autogeneration anymore. This also puts biotest and pidwraptest behind a new --enable-extratests option, so they are easy to run but are not enabled by default.
* update with latest, add more testsBrent Cook2015-02-061-0/+1
| | | | this adds the new bytestring apis and new regression tests
* tests/Makefile.am.tpl: remove generated files on distcleanDmitry Eremin-Solenikov2014-12-071-0/+1
| | | | | | Add pidwraptest.txt to DISTCLEANFILES to let it be removed on distclean. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* update and mask unit tests when running on win32Brent Cook2014-12-034-6/+32
| | | | | | | | Update pq_test to ignore changes in whitespace. Update for new testssl params, specify absolute paths to test binaries. Fork-based tests do not make sense on Windows. Disable building biotest, since it is too specific to OpenBSD's behavior to be useful on other platforms.
* improve readability of generated Makefile.am filesBrent Cook2014-11-231-0/+1
|
* override native arc4random_buf on FreeBSDBrent Cook2014-11-031-1/+2
| | | | | | | | | | | | | | | | The FreeBSD-native arc4random_buf implementation falls back to weak sources of entropy if the sysctl fails. Remove these dangerous fallbacks by overriding locally. Unfortunately, pthread_atfork() is broken on FreeBSD (at least 9 and 10) if a program does not link to -lthr. Callbacks registered with pthread_atfork() simply fail silently. So, it is not always possible to detect a PID wraparound. I wish we could do better. This improves arc4random_buf's safety compared to the native FreeBSD implementation. Tested on FreeBSD 9 and 10. ok beck@ deraadt@
* Improve and simplify function and header detection logic.Brent Cook2014-10-301-4/+0
| | | | | | | | | Simplify autoconf checks by using AC_CHECK_FUNCS/HEADERS. Clarify some ambiguous dependencies around strnlen/strndup. Unconditionally enable pidwraptest for all arc4random implementations. Remove HAVE_VASPRINTF conditional, since asprintf requires vasprintf. ok @doug
* enable -lcrypto -lssl with all test programs directly.Brent Cook2014-10-301-0/+3
| | | | | | This removes the need to specify each one individually. ok doug@
* undef LIBRESSL_INTERNAL for the pidwrap test.Brent Cook2014-10-221-0/+1
|
* prefer - over /dev/stdin for cmp testBrent Cook2014-07-281-1/+1
|
* remove bash-isms from test scriptsBrent Cook2014-07-282-3/+4
|
* clarify license and origin for pidwraptestBrent Cook2014-07-232-1/+8
| | | | | | | | The original author clarified the license, so we are fine to ship with the PID wraparound test. Run it by default if libressl is using the native arc4random supplied from the OS. ok deraadt@
* better handle disabled tests and exclude filesBrent Cook2014-07-211-2/+2
| | | | ok beck@ guenther@
* rename local tests to end in test.cBrent Cook2014-07-212-0/+0
| | | | ok beck@ guenther@
* move fork_rand.sh so it does not get run every timeBrent Cook2014-07-151-0/+0
| | | | | | the test takes many minutes to run on an OS with a slow fork() call ok beck@
* indicate failure to the test harnessBrent Cook2014-07-151-0/+1
| | | | ok beck@
* added fork_rand test to check for PID wraparoundBrent Cook2014-07-152-0/+91
| | | | ok beck@
* fix out of tree builds for ssl testBrent Cook2014-07-101-1/+1
| | | | | ssl tests need to find the openssl binary relative to the build, not the source, directory
* initial top-level import of subdirectoriesBrent Cook2014-07-106-0/+27