monitor system

This commit is contained in:
Bastien Nocera 2023-01-18 11:26:33 +01:00
parent 36f32310eb
commit dfd62971c9

View File

@ -72,7 +72,7 @@ try:
# You can rename the log file to *.log if you want to see it on test # You can rename the log file to *.log if you want to see it on test
# case failures # case failures
klass.monitor_log = open(os.path.join(klass.workdir, 'dbus-monitor.log'), 'wb', buffering=0) klass.monitor_log = open(os.path.join(klass.workdir, 'dbus-monitor.log'), 'wb', buffering=0)
klass.monitor = subprocess.Popen(['dbus-monitor', '--monitor'], klass.monitor = subprocess.Popen(['dbus-monitor', '--monitor', '--system'],
stdout=klass.monitor_log, stdout=klass.monitor_log,
stderr=subprocess.STDOUT) stderr=subprocess.STDOUT)