Locking - Test plan ------------------------- We want to perform test functions against our locking mechanisms. This stretches the legs of: - delete/put/mkcol's use of the if headers - the locked resources state management and then secondly - the depth headers etc...
Setup. Client 1: OPEN Client 2: OPEN Client 1: MKCOL perldav_test Client 1: MKCOL perldav_test/subdir
Test 1. We want to test a lock/unlock sequence. Client 1: LOCK perldav_test Client 1: UNLOCK perldav_test
Test 2. Then a lock/put sequence Client 1: LOCK perldav_test Client 1: PUT perldav_test/subdir/file.txt
Test 3. Then a lock/mkcol sequence (and again with another client) Client 2: MKCOL perldav_test/subdir2 (should fail as we don't own the lock) Client 1: MKCOL perldav_test/subdir3 (fails badly on the subsequent delete. not sure why) Test 4. Then a lock/lock sequence (should fail) Client 1: LOCK perldav_test/subdir (should fail, can't nest locks)
Test 5. Then a lock/delete sequence (should work) Client 1: DELETE perldav_test
Test 6. Then a delete/unlock sequence (should fail resource was delete) Client 1: UNLOCK perldav_test (should fail in client as no locks held after the delete).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 26:
=begin without a target?