about summary refs log tree commit diff
path: root/debian/tests/nm.py
diff options
context:
space:
mode:
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():