mirror of
https://github.com/octoleo/restic.git
synced 2025-03-21 16:42:22 +00:00
sftp: Skip tests if server binary is not available
This commit is contained in:
parent
e8780f1ec6
commit
c2ee0d9c84
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user