summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-06-03 10:24:23 +0200
committerLuca Boccassi <bluca@debian.org>2024-06-03 19:41:26 +0200
commit22fa8f67241fb3bf57c71c5c9e59ee5f63feca11 (patch)
tree18afb158d8273230c547da1c3a153e932f1e1432 /test
parenttest: disable TEST-21-DFUZZER in mkosi, as it is very flacky (diff)
downloadsystemd-22fa8f67241fb3bf57c71c5c9e59ee5f63feca11.tar.xz
systemd-22fa8f67241fb3bf57c71c5c9e59ee5f63feca11.zip
test-network: generate debugging logs of networkd-persistent-storage.service
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 000180dd41..b294621de9 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -526,7 +526,8 @@ def setup_system_units():
'ExecStart=',
f'ExecStart={networkctl_bin} persistent-storage yes',
'ExecStop=',
- f'ExecStop={networkctl_bin} persistent-storage no'
+ f'ExecStop={networkctl_bin} persistent-storage no',
+ 'Environment=SYSTEMD_LOG_LEVEL=debug' if enable_debug else '',
]
)