diff options
author | 2016-10-02 22:31:13 -0700 | |
---|---|---|
committer | 2016-10-02 22:39:28 -0700 | |
commit | f270ba91215c3f14b1f44da0e5db0221226a5715 (patch) | |
tree | 479bc0aa678286a59208e5b71c2c1fea39c88690 /test/test_fuse.py | |
parent | 651f85e4a2ef100ced3235ab1827c9ec9a509c43 (diff) |
Run tests under valgrind when available.
Fixes #50.
Diffstat (limited to 'test/test_fuse.py')
-rwxr-xr-x | test/test_fuse.py | 5 |
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) |