aboutsummaryrefslogtreecommitdiff
path: root/test/test_sshfs.py
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2017-06-21 15:05:20 -0700
committerNikolaus Rath <Nikolaus@rath.org>2017-07-08 12:25:13 +0200
commit34146444ce20c477cba7e9fe113e4387da32ae94 (patch)
tree276017769495de5bf3f84d4565ceb9a23e7a1c5f /test/test_sshfs.py
parent6cc86fc0bdaaeacfb1bd5e4336f2a2d1e5b189b8 (diff)
downloadsshfs-34146444ce20c477cba7e9fe113e4387da32ae94.tar
sshfs-34146444ce20c477cba7e9fe113e4387da32ae94.tar.gz
sshfs-34146444ce20c477cba7e9fe113e4387da32ae94.tar.bz2
sshfs-34146444ce20c477cba7e9fe113e4387da32ae94.zip
Switch to libfuse 3.0.
Diffstat (limited to 'test/test_sshfs.py')
-rwxr-xr-xtest/test_sshfs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_sshfs.py b/test/test_sshfs.py
index 00ea6a8..675fab3 100755
--- a/test/test_sshfs.py
+++ b/test/test_sshfs.py
@@ -30,7 +30,7 @@ def name_generator(__ctr=[0]):
return 'testfile_%d' % __ctr[0]
@pytest.mark.parametrize("debug", (False, True))
-@pytest.mark.parametrize("cache_timeout", (0, 1))
+@pytest.mark.parametrize("cache_timeout", (0,1))
@pytest.mark.parametrize("sync_rd", (True, False))
def test_sshfs(tmpdir, debug, cache_timeout, sync_rd, capfd):
@@ -64,10 +64,10 @@ def test_sshfs(tmpdir, debug, cache_timeout, sync_rd, capfd):
# SSHFS Cache
if cache_timeout == 0:
- cmdline += [ '-o', 'cache=no' ]
+ cmdline += [ '-o', 'dir_cache=no' ]
else:
- cmdline += [ '-o', 'cache_timeout=%d' % cache_timeout,
- '-o', 'cache=yes' ]
+ cmdline += [ '-o', 'dcache_timeout=%d' % cache_timeout,
+ '-o', 'dir_cache=yes' ]
# FUSE Cache
cmdline += [ '-o', 'entry_timeout=0',