Fix "cleanup" flag

This commit is contained in:
Alexander Neumann 2015-04-26 15:40:25 +02:00
parent d19b23d4f1
commit edfd86624c
3 changed files with 3 additions and 6 deletions

View file

@ -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
}