From f270ba91215c3f14b1f44da0e5db0221226a5715 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sun, 2 Oct 2016 22:31:13 -0700 Subject: Run tests under valgrind when available. Fixes #50. --- test/test_fuse.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/test_fuse.py') 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) -- cgit v1.2.3