From fab4a8a4d29089e80e561670094403aa01ee184b Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 14 Apr 2023 21:53:01 +0200 Subject: [PATCH] Properly initialize the --group-by option for backup tests --- cmd/restic/integration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go index d3882116e..93162b223 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -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()