mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
06a6feba9d
Add a basic telnet server for negotiating some telnet options before echoing back any data that's sent to it. Closes #1645
42 lines
447 B
Plaintext
Executable File
42 lines
447 B
Plaintext
Executable File
<testcase>
|
|
<info>
|
|
<keywords>
|
|
TELNET
|
|
UPLOAD
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
telnet
|
|
</server>
|
|
<features>
|
|
telnet
|
|
</features>
|
|
<name>
|
|
Basic TELNET negotiation
|
|
</name>
|
|
<stdin>
|
|
test1452
|
|
</stdin>
|
|
<command>
|
|
telnet://%HOSTIP:%NEGTELNETPORT --upload-file -
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<stdout>test1452</stdout>
|
|
</verify>
|
|
</testcase>
|