<testcase>
+<info>
+<keywords>
+TrackMemory
+</keywords>
+</info>
+
#
# Server-side
<reply>
<server>
none
</server>
+<features>
+TrackMemory
+</features>
# tool is what to use instead of 'curl'
<tool>
lib558
</tool>
-# precheck is a command line to run before the test,
-# to see if we can execute the test or not
-<precheck>
-./libtest/lib558 check
-</precheck>
<name>
-internal hash create/destroy testing
+libtest memory tracking operational
</name>
<command>
nothing
#
# Verify data after the test has been "shot"
<verify>
-<stdout mode="text">
-easy handle init OK
-creating hash...
-hash creation OK
-destroying hash...
-hash destruction OK
-destroying easy handle...
-easy handle destruction OK
-</stdout>
+<file name="log/memdump">
+MEM lib558.c: malloc()
+MEM lib558.c: free()
+MEM escape.c: malloc()
+MEM escape.c: realloc()
+MEM escape.c: realloc()
+MEM escape.c: free()
+</file>
+<stripfile>
+s/ =.*//
+s/\(.*\)/()/
+s/:\d+/:/
+s:^(MEM )(.*/)(.*):$1$3:
+</stripfile>
</verify>
</testcase>