diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-09-20 20:41:31 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2022-09-21 14:48:28 +0200 |
commit | 5515f2169cb5980996044eabb5f1b35e00fd81eb (patch) | |
tree | 83da43d8a9396640acee1034ac1f049b39119601 /test | |
parent | 639405b934c7785b2b8eebe26a4e584af6869069 (diff) | |
download | systemd-5515f2169cb5980996044eabb5f1b35e00fd81eb.tar.gz |
networkctl: use "-" for empty fields
This looks nicer. Some fields were already using "-" as fallback, e.g. Speed,
so this makes things more consistent too.
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-network/systemd-networkd-tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 2f638d158a..b90a07e22b 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -1047,8 +1047,8 @@ class NetworkctlTests(unittest.TestCase, Utilities): output = check_output(*networkctl_cmd, '-n', '0', 'status', 'lo', env=env) print(output) - self.assertRegex(output, r'Link File: n/a') - self.assertRegex(output, r'Network File: n/a') + self.assertRegex(output, r'Link File: -') + self.assertRegex(output, r'Network File: -') def test_delete_links(self): copy_network_unit('11-dummy.netdev', '11-dummy.network', |