mirror of
https://github.com/libfuse/libfuse.git
synced 2024-11-27 06:04:27 +08:00
Run hello_ll single-threaded explicitly.
This commit is contained in:
parent
a1e1e8cdc4
commit
9620fa7954
@ -31,6 +31,9 @@ def test_hello(tmpdir, name):
|
|||||||
mnt_dir = str(tmpdir)
|
mnt_dir = str(tmpdir)
|
||||||
cmdline = [os.path.join(basename, 'example', name),
|
cmdline = [os.path.join(basename, 'example', name),
|
||||||
'-f', mnt_dir ]
|
'-f', mnt_dir ]
|
||||||
|
if name == 'hello_ll':
|
||||||
|
# supports single-threading only
|
||||||
|
cmdline.append('-s')
|
||||||
mount_process = subprocess.Popen(cmdline)
|
mount_process = subprocess.Popen(cmdline)
|
||||||
try:
|
try:
|
||||||
wait_for_mount(mount_process, mnt_dir)
|
wait_for_mount(mount_process, mnt_dir)
|
||||||
|
Loading…
Reference in New Issue
Block a user