testremote: Test exporttree.

As long as the class of remotes supports exporting, it's tested whether
or not the remote is configured with exporttree=yes.

Also, made testremote of a remote configured with exporttree=yes
disable that configuration for testing non-export storage.

This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
Joey Hess 2017-11-08 14:22:05 -04:00
parent ee37d478f8
commit 1d0bf44173
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 85 additions and 7 deletions

View file

@ -19,7 +19,8 @@ tries to clean up after itself, if the remote being tested had a bug,
the cleanup might fail, leaving test data in the remote.
Testing will use the remote's configuration, automatically varying
the chunk sizes, and with simple shared encryption enabled and disabled.
the chunk sizes, and with simple shared encryption disabled and enabled,
and exporttree disabled and enabled.
# OPTIONS

View file

@ -1 +1,3 @@
As far as I can tell, `git annex testremote` doesn't test exporting yet
> [[fixed|done]] --[[Joey]]

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2017-11-08T17:38:02Z"
content="""
Added some fairly comprehensive tests.
"""]]