quickjs-tart

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

test1093 (555B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 TFTP
      5 TFTP RRQ
      6 mode=
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <data>
     14 a chunk of
     15 data
     16 returned
     17  to client
     18 </data>
     19 </reply>
     20 
     21 #
     22 # Client-side
     23 <client>
     24 <server>
     25 tftp
     26 </server>
     27 <name>
     28 TFTP retrieve with mode=i
     29 </name>
     30 <command>
     31 "tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER;mode=i" --use-ascii
     32 </command>
     33 </client>
     34 
     35 #
     36 # Verify pseudo protocol after the test has been "shot"
     37 <verify>
     38 <strip>
     39 ^timeout = [5-6]$
     40 </strip>
     41 <protocol>
     42 opcode = 1
     43 mode = octet
     44 tsize = 0
     45 blksize = 512
     46 filename = /%TESTNUMBER
     47 </protocol>
     48 </verify>
     49 </testcase>