test1330 630 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. unittest
  5. TrackMemory
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <server>
  15. none
  16. </server>
  17. <features>
  18. unittest
  19. TrackMemory
  20. </features>
  21. <name>
  22. unit tests memory tracking operational
  23. </name>
  24. <command>
  25. nothing
  26. </command>
  27. </client>
  28. #
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <file name="%LOGDIR/memdump">
  32. MEM unit%TESTNUMBER.c: malloc()
  33. MEM unit%TESTNUMBER.c: free()
  34. </file>
  35. <stripfile>
  36. s/ =.*//
  37. s/\(.*\)/()/
  38. s/:\d+/:/
  39. s:^(MEM )(.*/)(.*):$1$3:
  40. s/\r\n/\n/
  41. s/^MEM getenv.c: realloc\(\)[\n]$//
  42. s/^MEM getenv.c: free\(\)[\n]$//
  43. </stripfile>
  44. </verify>
  45. </testcase>