about summary refs log tree commit diff
path: root/debian/tests/nm.py
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-07-07 11:09:11 +0200
committerSebastien Bacher <seb128@ubuntu.com>2020-07-07 11:09:11 +0200
commita20dc659ec68a55ab86bb180316d1ec6d6a1fffc (patch)
tree5a91f63ffc5a29b938b824813c3ed9216ccca635 /debian/tests/nm.py
parentd94a1d63ed01fcfff56bbd09ffd728b72fece331 (diff)
* debian/tests:
  - don't use the old service name in the test, the compatibility alias
    has been removed
Diffstat (limited to 'debian/tests/nm.py')
-rwxr-xr-xdebian/tests/nm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/tests/nm.py b/debian/tests/nm.py
index 7399c4d9..f4fe46d6 100755
--- a/debian/tests/nm.py
+++ b/debian/tests/nm.py
@@ -857,7 +857,7 @@ def setUpModule():
     assert libc6.unshare(ctypes.c_int(0x00020000)) == 0, 'failed to unshare mount namespace'
 
     # stop system-wide NetworkManager to avoid interfering with tests
-    nm_running = subprocess.call('service network-manager stop 2>&1', shell=True) == 0
+    nm_running = subprocess.call('service NetworkManager stop 2>&1', shell=True) == 0
 
 
 def tearDownModule():