quickjs-tart

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

test3008 (871B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 -O
      5 </keywords>
      6 </info>
      7 #
      8 # Server-side
      9 <reply>
     10 <data nocheck="yes">
     11 HTTP/1.1 200 OK
     12 Date: Tue, 09 Nov 2010 14:49:00 GMT
     13 Server: test-server/fake
     14 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
     15 ETag: "21025-dc7-39462498"
     16 Accept-Ranges: bytes
     17 Content-Length: 6
     18 Connection: close
     19 Content-Type: text/html
     20 Funny-head: yesyes
     21 
     22 -foo-
     23 </data>
     24 </reply>
     25 
     26 #
     27 # Client-side
     28 <client>
     29 <server>
     30 http
     31 </server>
     32 <features>
     33 http
     34 </features>
     35 <name>
     36 --output-dir
     37 </name>
     38 <command option="no-output,no-include">
     39 http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR
     40 </command>
     41 </client>
     42 
     43 #
     44 # Verify data after the test has been "shot"
     45 <verify>
     46 <protocol>
     47 GET /this/is/the/%TESTNUMBER HTTP/1.1
     48 Host: %HOSTIP:%HTTPPORT
     49 User-Agent: curl/%VERSION
     50 Accept: */*
     51 
     52 </protocol>
     53 <file name="%LOGDIR/%TESTNUMBER">
     54 -foo-
     55 </file>
     56 </verify>
     57 </testcase>