Bug 43706 - Fix a litmus warning for WebdavServlet
Fix a litmus warning for WebdavServlet
Status: RESOLVED FIXED
Product: Tomcat 6
Classification: Unclassified
Component: Catalina
unspecified
All All
: P2 normal (vote)
: default
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-10-26 07:03 UTC by Panagiotis Astithas
Modified: 2007-12-20 14:17 UTC (History)
0 users



Attachments
The patch that fixes the litmus 'copymove' warnings. (1.26 KB, patch)
2007-10-26 07:05 UTC, Panagiotis Astithas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Panagiotis Astithas 2007-10-26 07:03:28 UTC
The litmus WebDAV compliance test suite produces a couple of warnings in its
'copymove' group of tests. This is the output on tomcat6 trunk:

$ env TESTS="copymove" litmus http://localhost:8080/webdav/ 
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... WARNING: COPY to new resource didn't give 201
    ...................... pass (with 1 warning)
 4. copy_overwrite........ pass
 5. copy_cleanup.......... pass
 6. copy_coll............. pass
 7. move.................. WARNING: MOVE to new resource didn't give 201
    ...................... pass (with 1 warning)
 8. move_coll............. pass
 9. move_cleanup.......... pass
10. finish................ pass
<- summary for `copymove': of 11 tests run: 11 passed, 0 failed. 100.0%
-> 2 warnings were issued.

With my patch the warnings are gone:

$ env TESTS="copymove" litmus http://localhost:8080/webdav/ 
-> running `copymove':
 0. init.................. pass
 1. begin................. pass
 2. copy_init............. pass
 3. copy_simple........... pass
 4. copy_overwrite........ pass
 5. copy_cleanup.......... pass
 6. copy_coll............. pass
 7. move.................. pass
 8. move_coll............. pass
 9. move_cleanup.......... pass
10. finish................ pass
<- summary for `copymove': of 11 tests run: 11 passed, 0 failed. 100.0%
Comment 1 Panagiotis Astithas 2007-10-26 07:05:43 UTC
Created attachment 21051 [details]
The patch that fixes the litmus 'copymove' warnings.

I left in an additional unrelated comment fix for build.xml, in order to avoid
polluting the bug database.
Comment 2 Mark Thomas 2007-12-20 14:17:45 UTC
This is fixed in 6.0.x and will be included in the next release.