From a0807bdc2307d1208646e44ab639a929d6fd6b81 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 31 May 2023 14:18:35 +0200 Subject: [PATCH] sysv-generator-test: Bump log level to info Otherwise, non-fatal debug error logs might interfere with the test. --- test/sysv-generator-test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py index 484b610a02e..1fe4153abc4 100755 --- a/test/sysv-generator-test.py +++ b/test/sysv-generator-test.py @@ -52,7 +52,9 @@ def run_generator(self, expect_error=False): parsed generated units. ''' env = os.environ.copy() - env['SYSTEMD_LOG_LEVEL'] = 'debug' + # We might debug log about errors that aren't actually fatal so let's bump the log level to info to + # prevent those logs from interfering with the test. + env['SYSTEMD_LOG_LEVEL'] = 'info' env['SYSTEMD_LOG_TARGET'] = 'console' env['SYSTEMD_SYSVINIT_PATH'] = self.init_d_dir env['SYSTEMD_SYSVRCND_PATH'] = self.rcnd_dir