diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-02 05:23:34 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-02 05:23:34 +0000 |
commit | cc1e19fbacc85b4c6479b6a64034a2ca0fc7ffac (patch) | |
tree | 0f211f975f0718ce1d4ed7a29d26496401a0adf2 | |
parent | f40b7fbf76de6ba82d73d3586766c515563ecd27 (diff) | |
parent | fd42d0d9e09460d6d913914be835602a27ebba77 (diff) | |
download | gnutls-cc1e19fbacc85b4c6479b6a64034a2ca0fc7ffac.tar.gz |
Merge branch 'fix-tests' into 'master'
Fix tests
See merge request gnutls/gnutls!646
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | tests/cert-tests/Makefile.am | 2 | ||||
-rwxr-xr-x | tests/ocsp-tests/ocsp-must-staple-connection | 1 | ||||
-rwxr-xr-x | tests/ocsp-tests/ocsp-tls-connection | 1 |
4 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 8638bd8501..617c8c07d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,7 +19,7 @@ # along with this file; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --disable-valgrind-tests +DISTCHECK_CONFIGURE_FLAGS = --enable-doc --enable-gtk-doc --disable-valgrind-tests SUBDIRS = gl lib extra diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am index 1b019303c4..97eb6cb8a7 100644 --- a/tests/cert-tests/Makefile.am +++ b/tests/cert-tests/Makefile.am @@ -62,7 +62,7 @@ EXTRA_DIST = data/ca-no-pathlen.pem data/no-ca-or-pathlen.pem data/aki-cert.pem data/pkcs7-cat-ca.pem data/pkcs7-cat.p7 data/openssl.p7b data/openssl.p7b.out \ data/openssl-keyid.p7b data/openssl-keyid.p7b.out data/openssl.p12 \ data/x509-v1-with-sid.pem data/x509-v1-with-iid.pem data/x509-v3-with-fractional-time.pem \ - templates/template-long-dns.tmpl \ + templates/template-long-dns.tmpl templates/template-long-serial.tmpl \ data/key-rsa-pss-raw.pem data/key-rsa-pss.pem \ data/long-dns.pem data/template-long-dns-crq.pem data/chain-with-critical-on-root.pem \ data/chain-with-critical-on-intermediate.pem data/chain-with-critical-on-endcert.pem \ diff --git a/tests/ocsp-tests/ocsp-must-staple-connection b/tests/ocsp-tests/ocsp-must-staple-connection index 5ec896207d..111c287a4c 100755 --- a/tests/ocsp-tests/ocsp-must-staple-connection +++ b/tests/ocsp-tests/ocsp-must-staple-connection @@ -101,6 +101,7 @@ echo "=== Generating good server certificate ===" rm -f "$TEMPLATE_FILE" cp "${srcdir}/ocsp-tests/certs/server_good.template" "$TEMPLATE_FILE" +chmod u+w "$TEMPLATE_FILE" echo "ocsp_uri=http://localhost:${OCSP_PORT}/ocsp/" >>"$TEMPLATE_FILE" echo "tls_feature = 5" >>"$TEMPLATE_FILE" diff --git a/tests/ocsp-tests/ocsp-tls-connection b/tests/ocsp-tests/ocsp-tls-connection index aa3bf49e1e..4b1e3025c7 100755 --- a/tests/ocsp-tests/ocsp-tls-connection +++ b/tests/ocsp-tests/ocsp-tls-connection @@ -99,6 +99,7 @@ echo "=== Generating good server certificate ===" rm -f "$TEMPLATE_FILE" cp "${srcdir}/ocsp-tests/certs/server_good.template" "$TEMPLATE_FILE" +chmod u+w "$TEMPLATE_FILE" echo "ocsp_uri=http://localhost:${OCSP_PORT}/ocsp/" >>"$TEMPLATE_FILE" # Generate certificates with the random port |