aboutsummaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Set _PATH_SSL_CA_FILE to the tarball internal path for regression testskinichiro2016-08-122-6/+3
| | | | | - let tests to use the cert.pem in the tarball, for both automake and cmake. - put this definition out of "if(ENABLE_EXTRATESTS)" since this can be shared by all tests.
* Set _PATH_SSL_CA_FILE to either CMAKE_INSTALL_PREFIX or OPENSSLDIR for the ↵Geoff Beier2016-08-011-0/+5
| | | | OCSP tests so that OCSP tests can be executed on a system without /etc/ssl/cert.pem
* include OCSP test scriptkinichiro2016-07-051-1/+1
|
* add OCSP testBrent Cook2016-07-043-0/+24
|
* Land #192, fix fix ld warning "attempted multiple inclusion of file" on SolarisBrent Cook2016-05-021-3/+3
|\
| * fix ld warning "attempted multiple inclusion of file" on Solariskinichiro2016-04-211-3/+3
| | | | | | | | - To avoid ld warning on Solaris, use abs_top_builddir in Makefile.am
* | add cmake build optionskinichiro2016-04-141-3/+18
|/ | | | | | | | | | | | | - add cmake build options as configure provides * -DENABLE_ASM (default ON) * -DENABLE_EXTRATESTS (default OFF) * -DENABLE_NC (default OFF) * -DOPENSSLDIR (default ${CMAKE_INSTALL_PREFIX}/etc/ssl) - add biotest and pidwraptest if ENABLE_EXTRATESTS is ON - add compiler flag `-fno-common` if CMAKE_SYSTEM_NAME is Darwin to prevent link error Undefined symbols "_OPENSSL_ia32cap_P"
* Land #184, execute tests that require srcdir environment variable with cmakeBrent Cook2016-04-095-29/+66
|\
| * execute tests that require srcdir environment variable with cmakekinichiro2016-04-055-29/+66
| | | | | | | | | | | | - uncomment procedures for aeadtest, evptest, pq_test, ssltest, testdsa and testrsa - add set_tests_properties() for setting environment variable srcdir - tweak openssl path in ssltest.sh, testdsa.sh, testenc.sh and testrsa.sh
* | fix cmake on HP-UXkinichiro2016-04-041-5/+10
|/ | | | | | | | | | | | | | | | | - CMakeLists.txt * add OS specific compiler flags and library * add checking size of time_t * add checking memmem() - tests/CMakeLists.txt * add if(HAVE_MEMMEM) for explicit_bzero * add checking SMALL_TIME_T for rfc5280time - crypto/CMakeLists.txt * add getentropy_hpux.c - tls/CMakeLists.txt * fix checking strsep
* package pidwraptest.sh scriptBrent Cook2016-01-031-1/+1
|
* move rfc5280time to rfc5280time_smallBrent Cook2015-10-182-2/+2
| | | | | Having the same name as the executable confuses the driver, and it runs the wrong thing.
* make it clear that we skipped 64-bit time_t testsBrent Cook2015-10-182-5/+16
|
* include warnings about small time_tBrent Cook2015-10-171-0/+6
|
* updates for ASN.1 time handlingBrent Cook2015-10-062-0/+10
|
* add asn1time to cmake testsBrent Cook2015-09-282-1/+6
|
* add asn1time testBrent Cook2015-09-281-0/+5
|
* update path to openssl(1) in testssl wrapperv2.3.0Brent Cook2015-09-221-3/+3
|
* remove SHA-0 from cmake buildsBrent Cook2015-09-171-5/+0
|
* SHA-0 is gone, remove testBrent Cook2015-09-161-5/+0
|
* Call the correct script for pidwraptest.sh.Brent Cook2015-09-161-1/+2
| | | | | This optional test was not reporting the correct results, noticed retesting against FreeBSD 11-current.
* more cmake testsBrent Cook2015-09-121-1/+12
|
* add 'nc' to the distribution as an example of libtls client and serverBrent Cook2015-09-124-10/+11
|
* add new testsBrent Cook2015-09-121-0/+10
|
* disable current broken cmake testsBrent Cook2015-07-221-16/+16
|
* s/CMakeFiles/CMakeLists/, start porting test scriptsBrent Cook2015-07-222-2/+6
|
* add cmake testsBrent Cook2015-07-212-1/+263
|
* add cipher_list testBrent Cook2015-06-291-0/+6
|
* 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