eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 679cea02affd537a87d60823b11ae01d3a0e25a4
parent 2c0bb06d1a664b21cdf446a4dfd6995f720d42be
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 22 Jun 2022 16:02:17 -0700

test-runner: exclude 'iwd-rtnl' from being enabled with --log

Enabling this ends up dumping so much logging and, at least with namespaces,
seems to break the logger module and cause really weird behavior, worst of
which is that all processes start dumping to stdout.

This can still be enabled explicitly with --verbose iwd-rtnl, but is turned
off by default when --log is used.

Diffstat:
Mtools/utils.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/utils.py b/tools/utils.py @@ -79,13 +79,14 @@ class Process(subprocess.Popen): @staticmethod def is_verbose(process, log=True): + exclude = ['iwd-rtnl'] process = os.path.basename(process) if Process.testargs is None: return False # every process is verbose when logging is enabled - if log and Process.testargs.log: + if log and Process.testargs.log and process not in exclude: return True if process in Process.testargs.verbose: