forked from TrueCloudLab/restic
Fix "cleanup" flag
This commit is contained in:
parent
d19b23d4f1
commit
edfd86624c
3 changed files with 3 additions and 6 deletions
|
@ -25,7 +25,7 @@ func setupSFTPBackend(t *testing.T) *sftp.SFTP {
|
|||
}
|
||||
|
||||
func teardownSFTPBackend(t *testing.T, b *sftp.SFTP) {
|
||||
if !*testCleanup {
|
||||
if !*TestCleanup {
|
||||
t.Logf("leaving backend at %s\n", b.Location())
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue