[tahoe-lafs-trac-stream] [tahoe-lafs] #1878: tahoe cp -r: add tests for copying cyclic directories

tahoe-lafs trac at tahoe-lafs.org
Mon Nov 26 00:34:24 UTC 2012


#1878: tahoe cp -r: add tests for copying cyclic directories
-------------------------------------------------+-------------------------
 Reporter:  davidsarah                           |          Owner:
     Type:  defect                               |         Status:  new
 Priority:  normal                               |      Milestone:
Component:  code-frontend-cli                    |  undecided
 Keywords:  tahoe-cp recursive error cycle       |        Version:  1.9.2
  test-needed                                    |  Launchpad Bug:
-------------------------------------------------+-------------------------
 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.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1878>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list