diff options
author | Max Dymond <max.dymond@metaswitch.com> | 2017-07-05 10:12:10 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-07-07 11:00:26 +0200 |
commit | 06a6feba9de67733ef943ed9f64076923dc5f747 (patch) | |
tree | 11504464bf448538c937be594b018d9e89c2b766 /tests/data/test1452 | |
parent | efedafe48a390e7f762588909e5511a76353e0d9 (diff) |
test1452: add telnet negotiation
Add a basic telnet server for negotiating some telnet options before
echoing back any data that's sent to it.
Closes #1645
Diffstat (limited to 'tests/data/test1452')
-rwxr-xr-x | tests/data/test1452 | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/test1452 b/tests/data/test1452 new file mode 100755 index 000000000..dbbb7d6c2 --- /dev/null +++ b/tests/data/test1452 @@ -0,0 +1,41 @@ +<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> |