tests: configure fsmonitor.mode=paranoid always if fsmonitor is used
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Fri, 12 Oct 2018 16:07:08 +0900
changeset 40208 b7ba1cfba174
parent 40207 f9e3044d16d0
child 40209 6b1a8c396b05
tests: configure fsmonitor.mode=paranoid always if fsmonitor is used This forces fsmonitor extension execute "paranoid" code path. Strict speaking, we should make fsmonitor-run-tests.py accept own specific options, but there is no code path, which is disabled in "paranoid" mode, at least now. Therefore, this solution seems reasonable enough.
tests/fsmonitor-run-tests.py
--- a/tests/fsmonitor-run-tests.py	Mon Oct 08 13:12:06 2018 +0900
+++ b/tests/fsmonitor-run-tests.py	Fri Oct 12 16:07:08 2018 +0900
@@ -123,6 +123,12 @@
         runtestsargv.extend([
             '--extra-config',
             'extensions.fsmonitor=',
+            # specify fsmonitor.mode=paranoid always in order to force
+            # fsmonitor extension execute "paranoid" code path
+            #
+            # TODO: make fsmonitor-run-tests.py accept specific options
+            '--extra-config',
+            'fsmonitor.mode=paranoid',
             '--blacklist',
             blacklist,
         ])