aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1399
diff options
context:
space:
mode:
authorRichard Hsu <richardhsu.cs@gmail.com>2017-04-04 19:26:29 -0700
committerDaniel Stenberg <daniel@haxx.se>2017-05-02 23:23:39 +0200
commit862b02f8947039e9a7f5d6ae47b547e3bf295988 (patch)
tree588e24ae1d27cb3efa7fbf53ce6248ad708e9f3b /tests/data/test1399
parent913c3c8f5476bd7bc4d8d00509396bd4b525b8fc (diff)
Telnet: Write full buffer instead of byte-by-byte
Previous TODO wanting to write in chunks. We should support writing more at once since some TELNET servers may respond immediately upon first byte written such as WHOIS servers. Closes #1389
Diffstat (limited to 'tests/data/test1399')
-rw-r--r--tests/data/test139943
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test1399 b/tests/data/test1399
new file mode 100644
index 000000000..830960532
--- /dev/null
+++ b/tests/data/test1399
@@ -0,0 +1,43 @@
+<testcase>
+<info>
+<keywords>
+TELNET
+UPLOAD
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+http
+</server>
+<features>
+telnet
+</features>
+<name>
+TELNET check stdin to HTTP
+</name>
+<stdin>
+GET /we/want/1399 HTTP/1.0
+
+</stdin>
+<command option="no-output">
+telnet://%HOSTIP:%HTTPPORT
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+GET /we/want/1399 HTTP/1.0
+
+</protocol>
+</verify>
+</testcase>