Added test case 1007 to test permission problem when uploading with TFTP

(to validate bug #1790403).
This commit is contained in:
Dan Fandrich
2007-09-07 20:05:20 +00:00
parent 14d6db0873
commit d030dfa6e2
3 changed files with 44 additions and 1 deletions

39
tests/data/test1007 Normal file
View File

@@ -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>