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 filename: /2004 47 mode: octet 48 opcode: 1 49 filename: /2004 50 mode: octet 51 </protocol> 52 <stdout> 53 Test data file 54 for tftp test 55 This is test data 56 for several protocols 57 This is test data 58 for several protocols 59 This is test data 60 for several protocols 61 This is test data 62 for several protocols 63 This is test data 64 for several protocols 65 Test data file 66 for tftp test 67 </stdout> 68 <valgrind> 69 disable 70 </valgrind> 71 </verify> 72 </testcase> 73