]> git.proxmox.com Git - systemd.git/commitdiff
d/t/boot-smoke: call fail if pidof polkitd fails
authorDan Streetman <ddstreet@canonical.com>
Sat, 20 Jul 2019 11:43:59 +0000 (07:43 -0400)
committerDan Streetman <ddstreet@canonical.com>
Mon, 12 Aug 2019 15:24:55 +0000 (11:24 -0400)
debian/tests/boot-smoke

index 7c36b559164875c8249430ba52c57356e817898d..aad20e4860214a607b3d4e00c959016f53ce1566 100755 (executable)
@@ -75,7 +75,7 @@ else
     fi
 
     echo "checking that polkitd runs"
-    pidof polkitd
+    pidof polkitd || fail "polkitd was not running"
 
     echo "checking that there are no running jobs"
     TIMEOUT=10