quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test96 (636B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 TrackMemory
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 # Client-side
     14 <client>
     15 <server>
     16 none
     17 </server>
     18 <features>
     19 TrackMemory
     20 </features>
     21 
     22 <name>
     23 curl memory tracking operational
     24 </name>
     25 <command>
     26 --version
     27 </command>
     28 </client>
     29 
     30 #
     31 # Verify data after the test has been "shot"
     32 <verify>
     33 <file name="%LOGDIR/memdump">
     34 MEM tool_cfgable.c
     35 MEM tool_paramhlp.c
     36 MEM tool_cfgable.c
     37 MEM tool_cfgable.c
     38 MEM tool_cfgable.c
     39 </file>
     40 <stripfile>
     41 $_ = '' if((($_ !~ /tool_paramhlp/) && ($_ !~ /tool_cfgable/)) || ($_ =~ /free\(\(nil\)\)/))
     42 s/:\d+.*//
     43 s:^(MEM )(.*/)(.*):$1$3:
     44 </stripfile>
     45 </verify>
     46 
     47 </testcase>