Skip to contentSkip to conversation

main - lvmdbustest: Add systemctl daemon start

PATCH Tony Asleson 1 participant 1 message Sep 19, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9693709b4642c7ef0c82f117b4f776a1e688d851
Commit:        9693709b4642c7ef0c82f117b4f776a1e688d851
Parent:        f252e05aaeb1a34598cc9d93e3c65ce2e311621b
Author:        Tony Asleson <[email protected]>
AuthorDate:    Tue Aug 23 10:54:22 2022 -0500
Committer:     Tony Asleson <[email protected]>
CommitterDate: Fri Sep 16 10:49:37 2022 -0500

lvmdbustest: Add systemctl daemon start

---
 test/dbus/lvmdbustest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
test/dbus/lvmdbustest.py +1 -1
index 72a75edea..ba93379dc 100755
@@ -278,7 +278,7 @@ class DaemonInfo(object):
 
 	def start(self, expect_fail=False):
 		if self.systemd:
-			pass
+			subprocess.run(["/usr/bin/systemctl", "start", "lvm2-lvmdbusd"], check=True)
 		else:
 			stdin_stream = None
 			stdout_stream = None