Run hello_ll single-threaded explicitly.
authorNikolaus Rath <Nikolaus@rath.org>
Mon, 3 Oct 2016 03:34:31 +0000 (20:34 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 3 Oct 2016 03:34:31 +0000 (20:34 -0700)
test/test_examples.py

index 31d2faee63c92046585211512e7af17023bbecb7..14cac4a92cd7064ead2300159fe81110eaa3b8b2 100755 (executable)
@@ -31,6 +31,9 @@ def test_hello(tmpdir, name):
     mnt_dir = str(tmpdir)
     cmdline = [os.path.join(basename, 'example', name),
                '-f', mnt_dir ]
+    if name == 'hello_ll':
+        # supports single-threading only
+        cmdline.append('-s')
     mount_process = subprocess.Popen(cmdline)
     try:
         wait_for_mount(mount_process, mnt_dir)