6 REQUIREDSOCKETS="cynara.socket dbus.socket security-manager.socket"
7 REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service bluetooth.service"
9 ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
13 echo -e "\n\n########## Test for service ${i} being active ##########\n\n"
15 systemctl is-active ${i} >/dev/null 2>&1
16 if [ $? -eq 0 ] ; then
22 lava-test-case ${i} --result ${RESULT}
23 systemctl status ${i} || true
26 echo -e "\n\n########## Result for service ${i} : $RESULT ##########\n\n"
30 echo "------------------------------------------------"
31 echo "All systemd units:"
32 echo "------------------------------------------------"
33 systemctl list-units || true
34 echo "------------------------------------------------"
35 echo "Only the failed systemd units:"
36 echo "------------------------------------------------"
37 ( systemctl list-units | grep failed ) || true