Restructure cmd/restic, no functional changes

This commit is contained in:
Alexander Neumann
2015-06-21 13:02:56 +02:00
parent 2fa259816b
commit 4388474cdc
16 changed files with 309 additions and 264 deletions

View File

@@ -177,11 +177,11 @@ type testEnvironment struct {
}
func configureRestic(t testing.TB, cache, repo string) {
mainOpts.CacheDir = cache
mainOpts.Repo = repo
mainOpts.Quiet = true
globalOpts.CacheDir = cache
globalOpts.Repo = repo
globalOpts.Quiet = true
mainOpts.password = TestPassword
globalOpts.password = TestPassword
}
func cleanupTempdir(t testing.TB, tempdir string) {