quickjs-tart

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

test502 (534B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 FILE
      5 </keywords>
      6 </info>
      7 #
      8 # Server-side
      9 <reply>
     10 <data>
     11 foo
     12    bar swsclose
     13 bar
     14    foo
     15 moo
     16 </data>
     17 </reply>
     18 
     19 # Client-side
     20 <client>
     21 <server>
     22 file
     23 </server>
     24 # tool is what to use instead of 'curl'
     25 <tool>
     26 lib%TESTNUMBER
     27 </tool>
     28 
     29 <name>
     30 simple multi file:// get
     31 </name>
     32 <command>
     33 file://%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt
     34 </command>
     35 <file name="%LOGDIR/test%TESTNUMBER.txt">
     36 foo
     37    bar swsclose
     38 bar
     39    foo
     40 moo
     41 </file>
     42 </client>
     43 
     44 # Verify data after the test has been "shot"
     45 <verify>
     46 </verify>
     47 </testcase>