From b804279fe892a466bd70baa434c4bb90f672507c Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 20 Apr 2018 21:36:05 +0200 Subject: [PATCH] integration tests: Don't print anything to stdout --- 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 5b4e67e17..8b90c3cd1 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -52,6 +52,7 @@ func testRunInit(t testing.TB, opts GlobalOptions) { } func testRunBackup(t testing.TB, target []string, opts BackupOptions, gopts GlobalOptions) { + gopts.stdout = ioutil.Discard t.Logf("backing up %v", target) rtest.OK(t, runBackup(opts, gopts, target)) }