2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-03 09:30:50 +00:00

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

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