2015-03-25 16:09:49 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex testremote - test transfers to/from a remote
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex testremote `remote`
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2019-01-17 16:39:29 +00:00
|
|
|
This tests a remote by sending objects to it, downloading objects from it,
|
|
|
|
etc.
|
2015-03-25 16:09:49 +00:00
|
|
|
|
|
|
|
It's safe to run in an existing repository (the repository contents are
|
|
|
|
not altered), although it may perform expensive data transfers.
|
|
|
|
|
2017-11-08 17:02:42 +00:00
|
|
|
It's best to make a new remote for testing purposes. While the test
|
|
|
|
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
|
2017-11-08 18:22:05 +00:00
|
|
|
the chunk sizes, and with simple shared encryption disabled and enabled,
|
2019-01-17 16:39:29 +00:00
|
|
|
and exporttree disabled and enabled. If the remote is readonly, testing
|
|
|
|
is limited to checking various properties of downloading from it.
|
2015-03-25 16:09:49 +00:00
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--fast`
|
|
|
|
|
|
|
|
Perform a smaller set of tests.
|
|
|
|
|
2019-01-17 16:39:29 +00:00
|
|
|
* `--test-readonly=file`
|
|
|
|
|
|
|
|
Normally, random objects are generated for the test and are sent to the
|
|
|
|
remote. When a readonly remote is being tested, that cannot be done,
|
|
|
|
and so you need to specify some annexed files to use in the testing,
|
|
|
|
using this option. Their content needs to be present in the readonly remote
|
|
|
|
being tested, and in the local repository.
|
|
|
|
|
|
|
|
This option can be repeated.
|
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
* `--size=NUnits`
|
|
|
|
|
2019-01-17 16:39:29 +00:00
|
|
|
Tune the base size of generated objects. The default is 1MiB.
|
2015-03-25 16:09:49 +00:00
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2017-11-09 15:34:53 +00:00
|
|
|
[[git-annex-test]](1)
|
|
|
|
|
2015-03-25 16:09:49 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|