From 7b8e42a763c9ce572c2423b4851e823974f614cb Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 25 Oct 2015 21:51:46 +0100 Subject: [PATCH] Silence rebuild-index 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 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)) }