summaryrefslogtreecommitdiffstats
path: root/test/test-network/systemd-networkd-tests.py
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-01-02 20:41:01 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-01-04 20:00:16 +0100
commitdc60ac29606c33acbd22d2fd6f37cc5fbfed7953 (patch)
tree3a0a890ced335fae0cf0939736c631342fcbf1f8 /test/test-network/systemd-networkd-tests.py
parenttmpfiles: add --purge switch (diff)
downloadsystemd-dc60ac29606c33acbd22d2fd6f37cc5fbfed7953.tar.xz
systemd-dc60ac29606c33acbd22d2fd6f37cc5fbfed7953.zip
test-network: show monotonic timestamp and drop hopstname from logs
Diffstat (limited to '')
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index eefd7192a7..24757d68fa 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -707,6 +707,8 @@ def read_networkd_log(invocation_id=None, since=None):
invocation_id = networkd_invocation_id()
command = [
'journalctl',
+ '--no-hostname',
+ '--output=short-monotonic',
f'_SYSTEMD_INVOCATION_ID={invocation_id}',
]
if since: