File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test2004
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    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 option="no-include">
   33: --key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//2004 sftp://%HOSTIP:%SSHPORT%POSIX_PWD/log/test2004.txt file://localhost%FILE_PWD/log/test2004.txt scp://%HOSTIP:%SSHPORT%POSIX_PWD/log/test2004.txt file://localhost%FILE_PWD/log/test2004.txt sftp://%HOSTIP:%SSHPORT%POSIX_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>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>