quickjs-tart

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

test3203 (590B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 FILE
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Client-side
     12 <client>
     13 <server>
     14 file
     15 </server>
     16 <name>
     17 GET a directory using file://
     18 </name>
     19 <!-- doesn't work on win32, see #6379 -->
     20 <features>
     21 !win32
     22 </features>
     23 <command option="no-include">
     24 file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.dir/
     25 </command>
     26 <file name="%LOGDIR/test%TESTNUMBER.dir/dir-listing-test.txt">
     27 Contents of file are irrelevant
     28 </file>
     29 </client>
     30 
     31 #
     32 # Verify data after the test has been "shot"
     33 <verify>
     34 <errorcode>
     35 0
     36 </errorcode>
     37 <stdout>
     38 dir-listing-test.txt
     39 </stdout>
     40 </verify>
     41 </testcase>