Remove SuspendSignalHandler

This commit is contained in:
Alexander Neumann 2018-01-17 23:14:47 +01:00
parent c31a5e7e5c
commit 0bdb131521
5 changed files with 11 additions and 29 deletions

View file

@ -50,13 +50,13 @@ func newTestSuite(t testing.TB) *test.Suite {
// CreateFn is a function that creates a temporary repository for the tests.
Create: func(config interface{}) (restic.Backend, error) {
cfg := config.(sftp.Config)
return sftp.Create(cfg, nil, nil)
return sftp.Create(cfg)
},
// OpenFn is a function that opens a previously created temporary repository.
Open: func(config interface{}) (restic.Backend, error) {
cfg := config.(sftp.Config)
return sftp.Open(cfg, nil, nil)
return sftp.Open(cfg)
},
// CleanupFn removes data created during the tests.