integration tests: Don't print anything to stdout

This commit is contained in:
Alexander Neumann 2018-04-20 21:36:05 +02:00
parent a56b8fad87
commit b804279fe8
1 changed files with 1 additions and 0 deletions

View File

@ -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))
}