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.
This commit is contained in:
Joey Hess 2014-08-01 15:09:49 -04:00
parent c03e1c5648
commit 9720ee9e56
7 changed files with 169 additions and 15 deletions

View file

@ -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
]