aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test285
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-01-15 21:06:12 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-01-15 21:06:12 +0000
commitf11d3c329c335a3fb8f01cc4509e2ab7a2abec04 (patch)
treed2ec91ef8fd7b5db656fa9d954c63afb5dc9fcb5 /tests/data/test285
parentb0d13fa4cbd8a6ff0a1bd344f539fa15c33af3af (diff)
Added TFTP upload tests.
Diffstat (limited to 'tests/data/test285')
-rw-r--r--tests/data/test28542
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test285 b/tests/data/test285
new file mode 100644
index 000000000..72f0455dd
--- /dev/null
+++ b/tests/data/test285
@@ -0,0 +1,42 @@
+<info>
+<keywords>
+TFTP
+TFTP WRQ
+</keywords>
+</info>
+
+#
+# Client-side
+<client>
+<server>
+tftp
+</server>
+ <name>
+TFTP send
+ </name>
+ <command>
+-T log/test285.txt tftp://%HOSTIP:%TFTPPORT// --trace-ascii log/traceit
+</command>
+<file name="log/test285.txt">
+a chunk of
+data
+sent
+ to server
+</file>
+</client>
+
+#
+# Verify pseudo protocol after the test has been "shot"
+<verify>
+<upload>
+a chunk of
+data
+sent
+ to server
+</upload>
+<protocol>
+opcode: 2
+filename: /test285.txt
+mode: octet
+</protocol>
+</verify>