tizen 2.3.1 release
[external/curl.git] / tests / data / test558
index 5b69ea0..7a9ba70 100644 (file)
@@ -1,4 +1,10 @@
 <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
@@ -30,15 +34,20 @@ 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>