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()