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