tests: filter out uninteresting log events
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 20 Dec 2018 13:59:07 +0800
changeset 4310 980565468003
parent 4303 78700a59192a
child 4320 b4bc185bcefb
tests: filter out uninteresting log events Core has new ui.log() calls added (for tracking extension loading and performance, for example), but in test-discovery-obshashrange.t it produces a bunch of lines that are unrelated to the test. So we filter them out to not touch test output. This is inspired by 1de3364320af in core.
tests/test-discovery-obshashrange.t
--- a/tests/test-discovery-obshashrange.t	Mon Dec 03 14:41:03 2018 +0800
+++ b/tests/test-discovery-obshashrange.t	Thu Dec 20 13:59:07 2018 +0800
@@ -9,6 +9,10 @@
   > blackbox =
   > [defaults]
   > blackbox = -l 100
+  > [blackbox]
+  > track = backupbundle, branchcache, cache, command, commandalias,
+  >         commandfinish, debug, discovery, evoext-cache, evoext-obsdiscovery,
+  >         incoming, tagscache
   > [experimental]
   > obshashrange=1
   > verbose-obsolescence-exchange=1