Run hello_ll single-threaded explicitly.

This commit is contained in:
Nikolaus Rath 2016-10-02 20:34:31 -07:00
parent a1e1e8cdc4
commit 9620fa7954

View File

@ -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)