summaryrefslogtreecommitdiff
path: root/CmdLine
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-08-01 15:09:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-08-01 15:10:01 -0400
commit17e04a5593eb41462fa7fb1a8f34af527d249ab7 (patch)
treedbe97d8a947adc540b76a2cb776b41c57b3f5710 /CmdLine
parent683cfeacaaaea86a8b34f06c30e9ab21c50f86eb (diff)
testremote: New command to test uploads/downloads to a remote.
This only performs some basic tests so far; no testing of chunking or resuming. Also, the existing encryption type of the remote is used; it would be good later to derive an encrypted and a non-encrypted version of the remote and test them both. This commit was sponsored by Joseph Liu.
Diffstat (limited to 'CmdLine')
-rw-r--r--CmdLine/GitAnnex.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/CmdLine/GitAnnex.hs b/CmdLine/GitAnnex.hs
index 4c9377df9..80a784dd7 100644
--- a/CmdLine/GitAnnex.hs
+++ b/CmdLine/GitAnnex.hs
@@ -96,9 +96,10 @@ import qualified Command.XMPPGit
#endif
import qualified Command.RemoteDaemon
#endif
-import qualified Command.Test
#ifdef WITH_TESTSUITE
+import qualified Command.Test
import qualified Command.FuzzTest
+import qualified Command.TestRemote
#endif
#ifdef WITH_EKG
import System.Remote.Monitoring
@@ -187,9 +188,10 @@ cmds = concat
#endif
, Command.RemoteDaemon.def
#endif
- , Command.Test.def
#ifdef WITH_TESTSUITE
+ , Command.Test.def
, Command.FuzzTest.def
+ , Command.TestRemote.def
#endif
]