aboutsummaryrefslogtreecommitdiff
path: root/test/test_fuse.py
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-02 22:31:13 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-02 22:39:28 -0700
commitf270ba91215c3f14b1f44da0e5db0221226a5715 (patch)
tree479bc0aa678286a59208e5b71c2c1fea39c88690 /test/test_fuse.py
parent651f85e4a2ef100ced3235ab1827c9ec9a509c43 (diff)
Run tests under valgrind when available.
Fixes #50.
Diffstat (limited to 'test/test_fuse.py')
-rwxr-xr-xtest/test_fuse.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_fuse.py b/test/test_fuse.py
index bbba6e0..3c60d80 100755
--- a/test/test_fuse.py
+++ b/test/test_fuse.py
@@ -7,7 +7,7 @@ if __name__ == '__main__':
import subprocess
import os
-from util import wait_for_mount, umount, cleanup
+from util import wait_for_mount, umount, cleanup, base_cmdline
basename = os.path.join(os.path.dirname(__file__), '..')
@@ -15,7 +15,8 @@ def test_fuse(tmpdir):
mnt_dir = str(tmpdir.mkdir('mnt'))
src_dir = str(tmpdir.mkdir('src'))
- cmdline = [ os.path.join(basename, 'example', 'fusexmp_fh'),
+ cmdline = base_cmdline + \
+ [ os.path.join(basename, 'example', 'fusexmp_fh'),
'-f', '-o' , 'use_ino,readdir_ino,kernel_cache',
mnt_dir ]
mount_process = subprocess.Popen(cmdline)