quickjs-tart

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

test994 (618B)


      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 globbing
     22 </name>
     23 <command option="no-output">
     24 -o "%LOGDIR/#1" "http://%HOSTIP:%HTTPPORT/%TESTNUMBER/{hey,ho}" --skip-existing
     25 </command>
     26 <file name="%LOGDIR/hey">
     27 content
     28 </file>
     29 <file2 name="%LOGDIR/ho">
     30 content
     31 </file2>
     32 </client>
     33 
     34 #
     35 # Verify data after the test has been "shot"
     36 <verify>
     37 <stderr mode="text">
     38 Note: skips transfer, "%LOGDIR/hey" exists locally
     39 Note: skips transfer, "%LOGDIR/ho" exists locally
     40 </stderr>
     41 </verify>
     42 </testcase>