[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2329: cp -r stops with an exception
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Mar 18 07:12:03 UTC 2015
#2329: cp -r stops with an exception
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: warner
Type: defect | Status: new
Priority: major | Milestone: 1.10.1
Component: code- | Version: 1.10.0
frontend-cli | Keywords: regression tahoe-cp release-blocker
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by warner):
Some notes from our review discussion, which didn't suggest changes to the
current behavior, but which should be recorded for future analysis:
* `cp SOURCE1 SOURCE2 missing` is not so clear-cut. Current behavior is to
mkdir, but maybe it should throw an error instead.
* `cp SOURCE1 SOURCE2 missing/` is obviously referring to a directory, so
mkdir is more correct. (current behavior is to mkdir). (`/bin/cp` emits an
error).
* `cp -r SOURCE1 SOURCEDIR2 missing` is not clear-cut.
Cleanups to do:
* add a test that uses a source directory which contains multiple files.
the current tests use multiple source directories (with one file each)
* find a way to reduce the with/without-trailing-slash redundancy in the
test table
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2329#comment:53>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list