mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:33:34 +03:00
test777: simple ---ssl-sessions test with wrong sessions
This commit is contained in:
parent
abe6ea0531
commit
b98e791e57
2 changed files with 49 additions and 1 deletions
48
tests/data/test777
Normal file
48
tests/data/test777
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
--ssl-sessions
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data crlf="headers">
|
||||
HTTP/1.1 200
|
||||
Date: Tue, 09 Nov 2030 14:49:00 GMT
|
||||
Server: test-server/fake swsclose
|
||||
Content-Type: text/html
|
||||
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
http
|
||||
</server>
|
||||
<features>
|
||||
ssl-sessions
|
||||
</features>
|
||||
<name>
|
||||
--ssl-sessions with weird sessions in file
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --ssl-sessions "%LOGDIR/sessions"
|
||||
</command>
|
||||
<file name="%LOGDIR/sessions">
|
||||
# Your SSL session cache. https://curl.se/docs/ssl-sessions.html
|
||||
# This file was generated by libcurl! Edit at your own risk.
|
||||
%b64[this is a funny test]b64%:%b64[second sequence]b64%
|
||||
%b64[also a funny test]b64%:%b64[second different sequence]b64%
|
||||
bad base64:also!bad
|
||||
</file>
|
||||
</client>
|
||||
|
||||
#
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
</verify>
|
||||
</testcase>
|
||||
Loading…
Add table
Add a link
Reference in a new issue