mirror of
https://github.com/restic/restic.git
synced 2025-11-16 15:32:53 +00:00
Restructure cmd/restic, no functional changes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user