integration tests: Don't print anything to stdout
This commit is contained in:
parent
a56b8fad87
commit
b804279fe8
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue