quickjs-tart

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

test1099 (701B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 TFTP
      5 TFTP RRQ
      6 FAILURE
      7 </keywords>
      8 </info>
      9 
     10 <reply>
     11 <data nocheck="yes">
     12 data for %TESTNUMBER
     13 </data>
     14 </reply>
     15 
     16 #
     17 # Client-side
     18 <client>
     19 <server>
     20 tftp
     21 </server>
     22 <name>
     23 TFTP get first a non-existing file then an existing
     24 </name>
     25 <command>
     26 tftp://%HOSTIP:%TFTPPORT/an/invalid-file tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER
     27 </command>
     28 </client>
     29 
     30 #
     31 # Verify pseudo protocol after the test has been "shot"
     32 <verify>
     33 <strip>
     34 ^timeout = [5-6]$
     35 </strip>
     36 <protocol>
     37 opcode = 1
     38 mode = octet
     39 tsize = 0
     40 blksize = 512
     41 filename = an/invalid-file
     42 opcode = 1
     43 mode = octet
     44 tsize = 0
     45 blksize = 512
     46 filename = /%TESTNUMBER
     47 </protocol>
     48 <stdout>
     49 data for %TESTNUMBER
     50 </stdout>
     51 </verify>
     52 </testcase>