quickjs-tart

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

test741 (610B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 IPFS
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 #
     14 # Client-side
     15 <client>
     16 <features>
     17 ipfs
     18 </features>
     19 <server>
     20 http
     21 </server>
     22 <setenv>
     23 HOME=%PWD/%LOGDIR
     24 </setenv>
     25 <name>
     26 IPFS malformed gw URL from multiline gateway file, first line no url
     27 </name>
     28 <command>
     29 ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u
     30 </command>
     31 <file name="%LOGDIR/.ipfs/gateway" >
     32 foo
     33 bar
     34 </file>
     35 </client>
     36 
     37 #
     38 # Verify data after the test has been "shot"
     39 <verify>
     40 # malformed gateway URL, first line in file must be a gateway URL
     41 <errorcode>
     42 3
     43 </errorcode>
     44 </verify>
     45 </testcase>