tahoe cp -r: add tests for copying cyclic directories #1878

Open
opened 2012-11-26 00:34:24 +00:00 by davidsarah · 0 comments
davidsarah commented 2012-11-26 00:34:24 +00:00
Owner

Split from #104:

Tahoe directory structures can be cyclic; local ones can't. So there are two cases that need to be tested:

  1. copying a cyclic Tahoe directory structure to another Tahoe directory (which should preserve the cycle structure)
  2. copying a cyclic Tahoe directory structure to a local disk (which should probably cause an error).

It's not clear when case 2 should produce an error; it may be that it should be allowed to do some copying before detecting the cycle and then failing, in which case that should be documented.

If it doesn't currently do the right thing, that should be documented and tickets filed to fix it. See also #712.

Split from #104: Tahoe directory structures can be cyclic; local ones can't. So there are two cases that need to be tested: 1. copying a cyclic Tahoe directory structure to another Tahoe directory (which should preserve the cycle structure) 2. copying a cyclic Tahoe directory structure to a local disk (which should probably cause an error). It's not clear *when* case 2 should produce an error; it may be that it should be allowed to do some copying before detecting the cycle and then failing, in which case that should be documented. If it doesn't currently do the right thing, that should be documented and tickets filed to fix it. See also #712.
tahoe-lafs added the
code-frontend-cli
normal
defect
1.9.2
labels 2012-11-26 00:34:24 +00:00
tahoe-lafs added this to the undecided milestone 2012-11-26 00:34:24 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1878
No description provided.