1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-09 00:00:02 +01: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))
}