quickjs-tart

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

test411 (626B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 -K
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 </reply>
     12 
     13 #
     14 # Client-side
     15 <client>
     16 <server>
     17 none
     18 </server>
     19 <name>
     20 -K with missing file causes error
     21 </name>
     22 <command>
     23 -K %LOGDIR/missing http://localhost
     24 </command>
     25 </client>
     26 
     27 #
     28 # Verify data after the test has been "shot"
     29 <verify>
     30 <stderr mode="text">
     31 curl: cannot read config from '%LOGDIR/missing'
     32 curl: option -K: error encountered when reading a file
     33 %if manual
     34 curl: try 'curl --help' or 'curl --manual' for more information
     35 %else
     36 curl: try 'curl --help' for more information
     37 %endif
     38 </stderr>
     39 <errorcode>
     40 26
     41 </errorcode>
     42 </verify>
     43 </testcase>