quickjs-tart

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

test996 (567B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 #
     10 # Server-side
     11 <reply>
     12 </reply>
     13 
     14 #
     15 # Client-side
     16 <client>
     17 <server>
     18 http
     19 </server>
     20 <name>
     21 --skip-existing with file present
     22 </name>
     23 <command option="no-output">
     24 -o %LOGDIR/there http://%HOSTIP:%HTTPPORT/%TESTNUMBER --skip-existing
     25 </command>
     26 <file name="%LOGDIR/there">
     27 content
     28 </file>
     29 </client>
     30 
     31 #
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 <stderr mode="text">
     35 Note: skips transfer, "%LOGDIR/there" exists locally
     36 </stderr>
     37 <file name="%LOGDIR/there">
     38 content
     39 </file>
     40 </verify>
     41 </testcase>