summaryrefslogtreecommitdiff
path: root/test-sftpfs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-10-13 10:53:19 +0100
committerLars Wirzenius <liw@liw.fi>2013-10-13 10:53:19 +0100
commit0381cd72d6d390c52e7a7b2963c762f4a8e3c540 (patch)
treedac2f86a0e4d95d7a94cd793a231edf496d1db77 /test-sftpfs
parent225002076de1643a00a4a2763c08704ceb03e993 (diff)
downloadobnam-0381cd72d6d390c52e7a7b2963c762f4a8e3c540.tar.gz
Add ssh-command setting
Patch by Lars Kruse.
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-xtest-sftpfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-sftpfs b/test-sftpfs
index 52f7e369..6a7b9b93 100755
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -49,6 +49,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
'ssh-key': '',
'strict-ssh-host-keys': False,
'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'),
+ 'ssh-command': None,
}
self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl,
settings=settings)
@@ -70,6 +71,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
'ssh-key': '',
'strict-ssh-host-keys': False,
'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'),
+ 'ssh-command': None,
}
fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl, settings=settings)
fs.connect()