test558 761 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. TrackMemory
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. </reply>
  11. # Client-side
  12. <client>
  13. <server>
  14. none
  15. </server>
  16. <features>
  17. TrackMemory
  18. ipv6
  19. </features>
  20. # tool is what to use instead of 'curl'
  21. <tool>
  22. lib558
  23. </tool>
  24. <name>
  25. libtest memory tracking operational
  26. </name>
  27. <command>
  28. nothing
  29. </command>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <file name="log/memdump">
  35. FD hostip6.c: socket()
  36. FD connect.c: sclose()
  37. MEM lib558.c: malloc()
  38. MEM lib558.c: free()
  39. MEM escape.c: malloc()
  40. MEM strdup.c: realloc()
  41. MEM strdup.c: realloc()
  42. MEM escape.c: free()
  43. </file>
  44. <stripfile>
  45. s/^MEM escape.c:\d+ free\(\(nil\)\)[\n]$//
  46. s/ =.*//
  47. s/\(.*\)/()/
  48. s/:\d+/:/
  49. s:^(MEM |FD )(.*/)(.*):$1$3:
  50. </stripfile>
  51. </verify>
  52. </testcase>