quickjs-tart

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

test726 (657B)


      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 #
     24 # Set a home that doesn't have a ".ipfs" folder. %PWD should be good.
     25 # This is to prevent the automatic gateway detection from finding a gateway file in your home folder.
     26 HOME=%PWD
     27 </setenv>
     28 <name>
     29 IPFS with no gateway URL (no environment or home file either)
     30 </name>
     31 <command>
     32 ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u
     33 </command>
     34 </client>
     35 
     36 #
     37 # Verify with no gateway url and no auto detection
     38 <verify>
     39 <errorcode>
     40 37
     41 </errorcode>
     42 </verify>
     43 </testcase>