2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-29 05:13:09 +00:00

Properly initialize the --group-by option for backup tests

This commit is contained in:
Michael Eischer 2023-04-14 21:53:01 +02:00
parent bdcafbc11c
commit fab4a8a4d2

View File

@ -71,6 +71,7 @@ func testRunBackupAssumeFailure(t testing.TB, dir string, target []string, opts
defer cleanup()
}
opts.GroupBy = restic.SnapshotGroupByOptions{Host: true, Path: true}
backupErr := runBackup(ctx, opts, gopts, term, target)
cancel()