diff options
Diffstat (limited to 'tests/data/test1007')
-rw-r--r-- | tests/data/test1007 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test1007 b/tests/data/test1007 new file mode 100644 index 000000000..5966ab366 --- /dev/null +++ b/tests/data/test1007 @@ -0,0 +1,39 @@ +<testcase> +<info> +<keywords> +TFTP +TFTP WRQ +FAILURE +</keywords> +</info> + +# +# Client-side +<client> +<server> +tftp +</server> + <name> +TFTP send with invalid permission on server + </name> + <command> +-T log/test1007.txt tftp://%HOSTIP:%TFTPPORT//invalid-file --trace-ascii log/traceit +</command> +<file name="log/test1007.txt"> +This data will not be sent +</file> +</client> + +# +# Verify pseudo protocol after the test has been "shot" +<verify> +<errorcode> +69 +</errorcode> +<protocol> +opcode: 2 +filename: /invalid-file +mode: octet +</protocol> +</verify> +</testcase> |