sftp: Skip tests if server binary is not available

This commit is contained in:
Alexander Neumann 2017-04-10 22:51:00 +02:00
parent e8780f1ec6
commit c2ee0d9c84

View file

@ -9,6 +9,10 @@ import (
)
func TestLayout(t *testing.T) {
if sftpserver == "" {
t.Skip("sftp server binary not available")
}
path, cleanup := TempDir(t)
defer cleanup()