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 | |
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')
-rw-r--r-- | tests/data/Makefile.inc | 2 | ||||
-rwxr-xr-x | tests/data/test1452 | 41 |
2 files changed, 42 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 655f38854..bd897a5ab 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -155,7 +155,7 @@ test1424 test1425 test1426 \ test1428 test1429 test1430 test1431 test1432 test1433 test1434 test1435 \ test1436 test1437 test1438 test1439 test1440 test1441 test1442 test1443 \ test1444 test1445 test1446 test1450 test1451 \ -\ +test1452 \ test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \ test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \ test1516 test1517 \ 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> |