aboutsummaryrefslogtreecommitdiff
path: root/test/test_sshfs.py
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2018-11-18 17:12:40 +0000
committerNikolaus Rath <Nikolaus@rath.org>2018-12-22 14:31:52 +0000
commit9ced6ca681050ac9d5ee8961a75d86cd508cf1e3 (patch)
treef48c2155a58ea0fb472f7860db44027836978e65 /test/test_sshfs.py
parentde11ec091e6f01ea15683ae4c813742bde009dc3 (diff)
downloadsshfs-9ced6ca681050ac9d5ee8961a75d86cd508cf1e3.tar
sshfs-9ced6ca681050ac9d5ee8961a75d86cd508cf1e3.tar.gz
sshfs-9ced6ca681050ac9d5ee8961a75d86cd508cf1e3.tar.bz2
sshfs-9ced6ca681050ac9d5ee8961a75d86cd508cf1e3.zip
Kill filesystem process on test cleanup.
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)