test509: libcurl initialization with memory callbacks and actual usage

This commit is contained in:
Yang Tse
2013-03-13 21:49:50 +01:00
parent ac890cd5f2
commit ba7fbd0960
4 changed files with 197 additions and 12 deletions

36
tests/data/test509 Normal file
View File

@@ -0,0 +1,36 @@
<testcase>
#
# Server-side
<reply>
</reply>
# Client-side
<client>
<server>
none
</server>
# tool is what to use instead of 'curl'
<tool>
lib509
</tool>
<name>
initialization with memory callbacks and actual usage
</name>
<command>
nothing
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout mode="text">
seen custom_calloc()
seen custom_malloc()
seen custom_realloc()
seen custom_free()
</stdout>
</verify>
</testcase>