From d030dfa6e2eb0193168dd72f336c8426c5a7942d Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 7 Sep 2007 20:05:20 +0000 Subject: Added test case 1007 to test permission problem when uploading with TFTP (to validate bug #1790403). --- CHANGES | 4 ++++ tests/data/Makefile.am | 2 +- tests/data/test1007 | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 tests/data/test1007 diff --git a/CHANGES b/CHANGES index 08db9ad5d..7f9831b75 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,10 @@ Changelog +Dan F (5 September 2007) +- Added test case 1007 to test permission problem when uploading with TFTP + (to validate bug #1790403). + Daniel S (5 September 2007) - Continued the work on a fix for #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054). My previous fix from August diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am index a8c7691e5..87e7c581f 100644 --- a/tests/data/Makefile.am +++ b/tests/data/Makefile.am @@ -44,4 +44,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \ test409 test613 test614 test700 test701 test702 test704 test705 test703 \ test706 test707 test350 test351 test352 test353 test289 test540 test354 \ test231 test1000 test1001 test1002 test1003 test1004 test1005 test1006 \ - test615 + test615 test1007 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 @@ + + + +TFTP +TFTP WRQ +FAILURE + + + +# +# Client-side + + +tftp + + +TFTP send with invalid permission on server + + +-T log/test1007.txt tftp://%HOSTIP:%TFTPPORT//invalid-file --trace-ascii log/traceit + + +This data will not be sent + + + +# +# Verify pseudo protocol after the test has been "shot" + + +69 + + +opcode: 2 +filename: /invalid-file +mode: octet + + + -- cgit v1.2.3