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}"
12 # add delay for services to fully start
16 echo -e "\n\n########## Test for service ${i} being active ##########\n\n"
18 systemctl is-active ${i} >/dev/null 2>&1
19 if [ $? -eq 0 ] ; then
25 lava-test-case ${i} --result ${RESULT}
26 systemctl status ${i} || true
29 echo -e "\n\n########## Result for service ${i} : $RESULT ##########\n\n"
33 echo "------------------------------------------------"
34 echo "All systemd units:"
35 echo "------------------------------------------------"
36 systemctl list-units || true
37 echo "------------------------------------------------"
38 echo "Only the failed systemd units:"
39 echo "------------------------------------------------"
40 ( systemctl list-units | grep failed ) || true