aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test313
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2010-05-27 23:45:18 +0200
committerKamil Dudka <kdudka@redhat.com>2010-05-27 23:45:18 +0200
commit01459828efdbc2621c18c2bf2f6f8f365413ef41 (patch)
treea79e25bd19021fe55c03a14181bf0622990b626b /tests/data/test313
parent99179da4ccd66af7d9f84410ff66ab91102d6e18 (diff)
test313: a new test for CRL support
Diffstat (limited to 'tests/data/test313')
-rw-r--r--tests/data/test31339
1 files changed, 39 insertions, 0 deletions
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 @@
+<testcase>
+<info>
+<keywords>
+HTTPS
+HTTP GET
+PEM certificate
+CRL
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<features>
+SSL
+</features>
+<server>
+https Server-localhost-sv.pem
+</server>
+ <name>
+CRL test
+ </name>
+ <command>
+--cacert %SRCDIR/certs/EdelCurlRoot-ca.crt --crlfile %SRCDIR/certs/Server-localhost-sv.crl https://localhost:%HTTPSPORT/313
+</command>
+# Ensure that we're running on localhost because we're checking the host name
+<precheck>
+perl -e "print 'Test requires default test server host' if ( '%HOSTIP' ne '127.0.0.1' );"
+</precheck>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+60
+</errorcode>
+</verify>
+</testcase>