1 <testcase> 2 <info> 3 <keywords> 4 TFTP 5 TFTP RRQ 6 FILE 7 SFTP 8 SCP 9 multiprotocol 10 </keywords> 11 </info> 12 13 # 14 # Server-side 15 <reply> 16 <data nocheck="yes"> 17 Test data file 18 for tftp test 19 </data> 20 </reply> 21 22 # 23 # Client-side 24 <client> 25 <server> 26 tftp 27 sftp 28 </server> 29 <name> 30 TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order 31 </name> 32 <command> 33 --key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//2004 sftp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt file://localhost/%PWD/log/test2004.txt scp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt file://localhost/%PWD/log/test2004.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt tftp://%HOSTIP:%TFTPPORT//2004 --insecure 34 </command> 35 <file name="log/test2004.txt"> 36 This is test data 37 for several protocols 38 </file> 39 </client> 40 41 # 42 # Verify data after the test has been "shot" 43 <verify> 44 <protocol> 45 opcode: 1 46 mode: octet 47 tsize: 0 48 blksize: 512 49 timeout: 6 50 filename: /2004 51 opcode: 1 52 mode: octet 53 tsize: 0 54 blksize: 512 55 timeout: 6 56 filename: /2004 57 </protocol> 58 <stdout> 59 Test data file 60 for tftp test 61 This is test data 62 for several protocols 63 This is test data 64 for several protocols 65 This is test data 66 for several protocols 67 This is test data 68 for several protocols 69 This is test data 70 for several protocols 71 Test data file 72 for tftp test 73 </stdout> 74 <valgrind> 75 disable 76 </valgrind> 77 </verify> 78 </testcase> 79