Properly initialize the --group-by option for backup tests
This commit is contained in:
parent
bdcafbc11c
commit
fab4a8a4d2
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ func testRunBackupAssumeFailure(t testing.TB, dir string, target []string, opts
|
||||||
defer cleanup()
|
defer cleanup()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
opts.GroupBy = restic.SnapshotGroupByOptions{Host: true, Path: true}
|
||||||
backupErr := runBackup(ctx, opts, gopts, term, target)
|
backupErr := runBackup(ctx, opts, gopts, term, target)
|
||||||
|
|
||||||
cancel()
|
cancel()
|
||||||
|
|
Loading…
Reference in a new issue