aboutsummaryrefslogtreecommitdiff
path: root/test/test_sshfs.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sshfs.py')
-rwxr-xr-xtest/test_sshfs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sshfs.py b/test/test_sshfs.py
index 04366fe..08091bd 100755
--- a/test/test_sshfs.py
+++ b/test/test_sshfs.py
@@ -109,7 +109,7 @@ def test_sshfs(tmpdir, debug, cache_timeout, sync_rd, capfd):
tst_truncate_fd(mnt_dir)
tst_open_unlink(mnt_dir)
except:
- cleanup(mnt_dir)
+ cleanup(mount_process, mnt_dir)
raise
else:
umount(mount_process, mnt_dir)