quickjs-tart

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

test1007 (677B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 TFTP
      5 TFTP WRQ
      6 FAILURE
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Client-side
     12 <client>
     13 <server>
     14 tftp
     15 </server>
     16 <name>
     17 TFTP send with invalid permission on server
     18 </name>
     19 <command>
     20 -T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//invalid-file -sS
     21 </command>
     22 <file name="%LOGDIR/test%TESTNUMBER.txt">
     23 This data will not be sent
     24 </file>
     25 </client>
     26 
     27 #
     28 # Verify pseudo protocol after the test has been "shot"
     29 <verify>
     30 <errorcode>
     31 69
     32 </errorcode>
     33 <strip>
     34 ^timeout = [5-6]$
     35 </strip>
     36 <protocol>
     37 opcode = 2
     38 mode = octet
     39 tsize = 27
     40 blksize = 512
     41 filename = /invalid-file
     42 </protocol>
     43 <stderr mode="text">
     44 curl: (69) TFTP: Access Violation
     45 </stderr>
     46 </verify>
     47 </testcase>