mirror of
https://github.com/restic/restic.git
synced 2025-06-12 11:58:29 +00:00
integration tests: Don't print anything to stdout
This commit is contained in:
parent
a56b8fad87
commit
b804279fe8
@ -52,6 +52,7 @@ func testRunInit(t testing.TB, opts GlobalOptions) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func testRunBackup(t testing.TB, target []string, opts BackupOptions, gopts GlobalOptions) {
|
func testRunBackup(t testing.TB, target []string, opts BackupOptions, gopts GlobalOptions) {
|
||||||
|
gopts.stdout = ioutil.Discard
|
||||||
t.Logf("backing up %v", target)
|
t.Logf("backing up %v", target)
|
||||||
rtest.OK(t, runBackup(opts, gopts, target))
|
rtest.OK(t, runBackup(opts, gopts, target))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user