mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-01 14:17:37 +03:00
sysv-generator-test: Bump log level to info
Otherwise, non-fatal debug error logs might interfere with the test. (cherry picked from commita0807bdc23
) (cherry picked from commit08b3e551c6
)
This commit is contained in:
committed by
Luca Boccassi
parent
6bd42a6935
commit
a3bb20dd41
@ -52,7 +52,9 @@ class SysvGeneratorTest(unittest.TestCase):
|
|||||||
parsed generated units.
|
parsed generated units.
|
||||||
'''
|
'''
|
||||||
env = os.environ.copy()
|
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_LOG_TARGET'] = 'console'
|
||||||
env['SYSTEMD_SYSVINIT_PATH'] = self.init_d_dir
|
env['SYSTEMD_SYSVINIT_PATH'] = self.init_d_dir
|
||||||
env['SYSTEMD_SYSVRCND_PATH'] = self.rcnd_dir
|
env['SYSTEMD_SYSVRCND_PATH'] = self.rcnd_dir
|
||||||
|
Reference in New Issue
Block a user