summaryrefslogtreecommitdiff
path: root/tests/suite/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* tests: set SH_LOG_COMPILER so sh tests run under $(SHELL)Daiki Ueno2021-06-281-0/+1
| | | | | | This omits the need of setting executable bits on shell script tests. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* tests: don't run shell-script tests under valgrindDaiki Ueno2021-02-171-4/+0
| | | | | | https://www.gnu.org/software/gnulib/manual/html_node/Valgrind-and-shell-scripts.html Signed-off-by: Daiki Ueno <ueno@gnu.org>
* testcompat-openssl: run TLS 1.3 client/server tests in parallelDaiki Ueno2021-02-011-1/+3
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* testcompat-openssl: remove hand-written parallelismDaiki Ueno2021-01-311-1/+9
| | | | | | | | | | Previously, the test used to launch multiple tests in background and then join them using shell primitives. That approach makes the test slower as it cannot benefit from the automake's parallel test harness, as well as it makes diagnostic harder because the lines in the log file mix up. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* testcompat-polarssl: remove hand-written parallelismDaiki Ueno2021-01-251-1/+5
| | | | | | | | | | Previously, the test used to launch multiple tests in background and then join them using shell primitives. That approach makes the test slower as it cannot benefit from the automake's parallel test harness, as well as it makes diagnostic harder because the lines in the log file mix up. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Detect Python interpreter instead of assuming "python"Fiona Klute2020-06-161-0/+1
| | | | | | | This makes the extended test suite work one Debian(-ish) systems without Python 2, where the Python 3 interpreter is called "python3". Signed-off-by: Fiona Klute <fiona.klute@gmx.de>
* tests/Makefile.am: use absolute top_srcdir for GNUTLS_PRIORITY_FILEDimitri John Ledkov2020-01-061-1/+1
| | | | | | | | | Some tests, e.g. in suite/tls-fuzzer execute scripts from sub-directories, making the relative path to system.prio in the environment pointing to a non-existent file. Export system.prio testsuite file as an absolute path to avoid this issue. Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
* tests/suite: do not include scripts into disttmp-libevNikos Mavrogiannopoulos2020-01-031-5/+2
| | | | | | This part of the test suite is only run on CI. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* ecore cli: updated and rewritten to use libevNikos Mavrogiannopoulos2020-01-031-50/+5
| | | | | | | | | That removes a lot of code that was not necessary in the gnutls test suite. Resolves: #884 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: ensure test suite does not apply global configNikos Mavrogiannopoulos2019-12-201-0/+1
| | | | | | | | When running the test suite we do not apply the global gnutls configration as it may change options that are tested. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* tests: added interoperability test with gnutls 2.12.xNikos Mavrogiannopoulos2019-09-011-0/+4
| | | | | | This enables this test in debian build. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* gnutls_hash/hmac_copy: check its usability in all casesNikos Mavrogiannopoulos2019-06-261-0/+1
| | | | | | | During the test suite run we require that all supported MAC and hash algorithms implement the copy function. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tlsfuzzer: test both with and without %ALLOW_SMALL_RECORDSDaiki Ueno2019-06-191-0/+1
| | | | | | | The option changes the behavior of the server, it would make sense to check both with and without %ALLOW_SMALL_RECORDS. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* tests: added tests for multiple ticket receptiontmp-test-ticketsNikos Mavrogiannopoulos2019-01-231-1/+2
| | | | | | | | | | | This introduces tests for the reception (parsing) of multiple tickets by a gnutls client. It uses the tlslite-ng server because unlike a gnutls server, tlslite-ng does send multiple tickets in a single record. That way we test that we can parse both ways of sending tickets. Resolves: #511 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tls13: use system's openssl for interop testingNikos Mavrogiannopoulos2018-11-101-1/+5
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* tlsfuzzer: move common code to separate fileDmitry Eremin-Solenikov2018-09-271-1/+1
| | | | | | Move common code to tls-fuzzer-common.sh to ease further adjustments. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* tests: run tls-fuzzer PSK testsuiteNikos Mavrogiannopoulos2018-07-271-1/+1
| | | | | | Resolves #508 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: tls-fuzzer: separated SSL3.0 from TLS1.x testsNikos Mavrogiannopoulos2018-07-131-0/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tlsfuzzer: update to the latest versionDaiki Ueno2018-06-121-1/+2
| | | | | | Also enable the TLS 1.3 tests. Signed-off-by: Daiki Ueno <dueno@redhat.com>
* cbc-record-check.sh: introducedNikos Mavrogiannopoulos2018-06-121-1/+1
| | | | | | | That enhances the existing CBC check and adds sha384, uses PSK to reduce handshake time, and other updates. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests/suite: add missing file to distAndreas Metzler2018-05-151-1/+2
| | | | Signed-off-by: Andreas Metzler <ametzler@bebt.de>
* tests: added interop tests with openssl under TLS1.3Nikos Mavrogiannopoulos2018-05-041-4/+7
| | | | | | | | | | | | | This adds interoperability tests for: * PSK with elliptic curve DHE * RSA,RSA-PSS,secp256r1,ed25519 server certificate * RSA,RSA-PSS,secp256r1,ed25519 client certificate * X25519,SECP256R1 key share exchange * key share with HRR Relates #328 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: moved invalid-cert reproducer into fuzz/ reproducersNikos Mavrogiannopoulos2018-03-191-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: testpkcs11.sh was moved to the main testsNikos Mavrogiannopoulos2018-03-191-7/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: long-crl.sh was moved to main suiteNikos Mavrogiannopoulos2018-03-191-2/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: suite: dropped ocsp-coverage and cert-coverageNikos Mavrogiannopoulos2018-03-191-2/+2
| | | | | | | These tests are duplicates of fuzz/gnutls_ocsp_resp/req_parser_fuzzer and gnutls_x509_parser_fuzzer. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: testsrn.sh was removed as duplicate of safe-renegotation/ testsNikos Mavrogiannopoulos2018-03-191-1/+1
| | | | | | | Also safe-renegotiation tests were made TLS1.2-only as they do not apply to TLS1.3. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: pkcs7-cat: moved to main suiteNikos Mavrogiannopoulos2018-03-191-4/+2
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Use $(LIBDL) instead of hardcoding -ldl.Thomas Klausner2017-09-061-1/+1
|
* tlsfuzzer: enabled ALPN testsNikos Mavrogiannopoulos2017-07-061-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* testsuite: added tlsfuzzer certificate requiring testsNikos Mavrogiannopoulos2017-03-281-1/+2
| | | | | | | This enhances the testsuite by running all the tlsfuzzer fuzzer tests which require certificates from server. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: added an OCSP response parsing coverage testNikos Mavrogiannopoulos2017-03-131-2/+2
| | | | | | | | This inputs a large set of valid and invalid OCSP files in the OCSP parser with the intention to stress test its error checking, and prevent regressions. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* tests: added a certificate parsing coverage testNikos Mavrogiannopoulos2017-03-131-1/+2
| | | | | | | | This inputs a large set of valid and invalid certificates in the certificate parser with the intention to stress test its error checking, and prevent regressions. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* testsuite: added tlsfuzzerNikos Mavrogiannopoulos2017-03-071-1/+1
| | | | | | | This enhances the testsuite by running all the tlsfuzzer fuzzer tests which require no certificates from server. https://github.com/tomato42/tlsfuzzer
* tests: added check for certtool loading CA certificates from PKCS#11Nikos Mavrogiannopoulos2016-12-191-1/+1
|
* tests: disable ASAN leak checks on suite testsNikos Mavrogiannopoulos2016-12-091-4/+5
| | | | | These detect memory leaks in the tools in src/ which are not critical nor there is serious reason to address.
* tests: do not enable testpkcs11.sh twiceDmitry Eremin-Solenikov2016-10-271-1/+1
| | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Fix compilation of tests if nettle is not installed in standard pathDmitry Eremin-Solenikov2016-10-251-0/+2
| | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* tests: added sanity check for included primesNikos Mavrogiannopoulos2016-10-141-2/+3
|
* tests: added checks for the decoding of various PKCS#7 structuresNikos Mavrogiannopoulos2016-10-111-2/+4
|
* tests: removed remainders of pkcs11 tests from suite/Nikos Mavrogiannopoulos2016-06-241-1/+1
|
* tests: moved pkcs11-softhsm test suite into pkcs11/Nikos Mavrogiannopoulos2016-06-231-3/+2
|
* tests: include softhsm.h into dist filesNikos Mavrogiannopoulos2016-06-221-1/+1
|
* Allow for conditional compilation of SSL 3.0 protocolNikos Mavrogiannopoulos2016-05-141-0/+4
| | | | | | | This allows to completely remove SSL 3.0 support by calling configure with the '--disable-ssl3' option. Resolves #93
* tests: suite: disable any openssl cpu optimizationsNikos Mavrogiannopoulos2016-04-151-1/+2
| | | | | | This prevents from valgrind failures on softhsm usage due to any new instruction optimizations which are not supported by valgrind.
* tests: disable unsupported curves from compatibility checksNikos Mavrogiannopoulos2016-04-091-0/+4
| | | | This allows running make check even when compiling with disable-suiteb-curves.
* tests: pkcs11-pubkey-import will check both RSA and ECDSA keyspkcs11-ecdsaNikos Mavrogiannopoulos2015-12-311-2/+2
|
* tests: check whether gnutls_pubkey_import_privkey() operates well for ↵Nikos Mavrogiannopoulos2015-12-061-2/+2
| | | | PKCS#11 RSA keys
* tests: suite: more shell scripts were given the .sh suffix and simplified ↵Nikos Mavrogiannopoulos2015-11-121-13/+11
| | | | makefile
* tests: suite: don't run shell scripts with valgrindNikos Mavrogiannopoulos2015-11-101-4/+6
|