summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2021-01-04 19:20:28 +0100
committerAndrej Shadura <andrewsh@debian.org>2021-01-05 19:28:50 +0100
commit5c5b2da96333a1d0f792047f096bc9bf499033a4 (patch)
tree5dad19f7361444162e4407f59f6ef0f92ed758d7
parent4ee24b7dff18df604268472f7753bd94a26ae53e (diff)
[PATCH] Stop using deprecated systemd-resolve tool
Closes: #979266 Gbp-Pq: Name 0003-Stop-using-deprecated-systemd-resolve-tool.patch
-rw-r--r--tests/integration/ethernets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/ethernets.py b/tests/integration/ethernets.py
index a362f2e..66b228c 100644
--- a/tests/integration/ethernets.py
+++ b/tests/integration/ethernets.py
@@ -152,7 +152,7 @@ class _CommonTests():
elif resolved_in_use():
sys.stdout.write('[resolved] ')
sys.stdout.flush()
- out = subprocess.check_output(['systemd-resolve', '--status'], universal_newlines=True)
+ out = subprocess.check_output(['resolvectl', 'status'], universal_newlines=True)
self.assertIn('DNS Servers: 172.1.2.3', out)
self.assertIn('fakesuffix', out)
else: