test2004 (1473B)
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, SFTP, FILE, SCP retrieval then in rev 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%SFTP_PWD/%LOGDIR/test%TESTNUMBER.txt file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt scp://%HOSTIP:%SSHPORT%SCP_PWD/%LOGDIR/test%TESTNUMBER.txt file://localhost%FILE_PWD/%LOGDIR/test%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SFTP_PWD/%LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER --insecure 34 </command> 35 <file name="%LOGDIR/test%TESTNUMBER.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 <strip> 45 ^timeout = [5-6]$ 46 </strip> 47 <protocol> 48 opcode = 1 49 mode = octet 50 tsize = 0 51 blksize = 512 52 filename = /%TESTNUMBER 53 opcode = 1 54 mode = octet 55 tsize = 0 56 blksize = 512 57 filename = /%TESTNUMBER 58 </protocol> 59 <stdout> 60 Test data file 61 for tftp test 62 This is test data 63 for several protocols 64 This is test data 65 for several protocols 66 This is test data 67 for several protocols 68 This is test data 69 for several protocols 70 This is test data 71 for several protocols 72 Test data file 73 for tftp test 74 </stdout> 75 </verify> 76 </testcase>