From: Daniel Stenberg Date: Wed, 19 Nov 2025 07:32:13 +0000 (+0100) Subject: test777: simple ---ssl-sessions test with wrong sessions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b98e791e57200c7192fa391a5ecf19fc5d70e478;p=thirdparty%2Fcurl.git test777: simple ---ssl-sessions test with wrong sessions --- diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index d417a70a40..fc10723814 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -110,7 +110,7 @@ test736 test737 test738 test739 test740 test741 test742 test743 test744 \ test745 test746 test747 test748 test749 test750 test751 test752 test753 \ test754 test755 test756 test757 test758 test759 test760 test761 test762 \ test763 test764 test765 test766 test767 test768 test769 test770 test771 \ -test772 test773 test774 test775 test776 \ +test772 test773 test774 test775 test776 test777 \ test780 test781 test782 test783 test784 test785 test786 test787 test788 \ test789 test790 test791 test792 test793 test794 test796 test797 \ \ diff --git a/tests/data/test777 b/tests/data/test777 new file mode 100644 index 0000000000..4f6f83785c --- /dev/null +++ b/tests/data/test777 @@ -0,0 +1,48 @@ + + + +--ssl-sessions + + + +# +# Server-side + + +HTTP/1.1 200 +Date: Tue, 09 Nov 2030 14:49:00 GMT +Server: test-server/fake swsclose +Content-Type: text/html + + + + +# +# Client-side + + +http + + +ssl-sessions + + +--ssl-sessions with weird sessions in file + + +http://%HOSTIP:%HTTPPORT/%TESTNUMBER --ssl-sessions "%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 + + + +# +# Verify data after the test has been "shot" + + +