diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go index 24f8e52db..c2d5f7197 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -99,6 +99,7 @@ func cmdCheckOutput(t testing.TB, global GlobalOptions) string { } func cmdRebuildIndex(t testing.TB, global GlobalOptions) { + global.stdout = ioutil.Discard cmd := &CmdRebuildIndex{global: &global} OK(t, cmd.Execute(nil)) }