From 01459828efdbc2621c18c2bf2f6f8f365413ef41 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Thu, 27 May 2010 23:45:18 +0200 Subject: [PATCH] test313: a new test for CRL support --- CHANGES | 2 ++ tests/data/Makefile.am | 2 +- tests/data/test313 | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 tests/data/test313 diff --git a/CHANGES b/CHANGES index efea35ca5..f8d9b3653 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,8 @@ Changelog Kamil Dudka (27 May 2010) +- added a new test for CRL support (test313) + - Tor Arntsen changed the alternative definition of bool to use enum instead of unsigned char. diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index a8cf5d7a6..f65c1ce7e 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -67,7 +67,7 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test312 test1105 test565 test800 test1106 test801 test566 test802 test803 \ test1107 test1108 test1109 test1110 test1111 test1112 test129 test567 \ test568 test569 test570 test571 test572 test804 test805 test806 test807 \ - test573 + test573 test313 filecheck: @mkdir test-place; \ diff --git a/tests/data/test313 b/tests/data/test313 new file mode 100644 index 000000000..c54495a88 --- /dev/null +++ b/tests/data/test313 @@ -0,0 +1,39 @@ + + + +HTTPS +HTTP GET +PEM certificate +CRL + + + +# +# Client-side + + +SSL + + +https Server-localhost-sv.pem + + +CRL test + + +--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --crlfile %SRCDIR/certs/Server-localhost-sv.crl https://localhost:%HTTPSPORT/313 + +# Ensure that we're running on localhost because we're checking the host name + +perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );" + + + +# +# Verify data after the test has been "shot" + + +60 + + +