7 REQUIREDSOCKETS="dbus.socket security-manager.socket"
8 REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service bluetooth.service"
10 ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
13 # add delay for services to fully start
17 echo -e "\n\n########## Test for service ${i} being active ##########\n\n"
19 systemctl is-active ${i} >/dev/null 2>&1
20 if [ $? -eq 0 ] ; then
26 lava-test-case ${i} --result ${RESULT}
27 systemctl status ${i} || true
30 echo -e "\n\n########## Result for service ${i} : $RESULT ##########\n\n"
34 echo "------------------------------------------------"
35 echo "All systemd units:"
36 echo "------------------------------------------------"
37 systemctl list-units || true
38 echo "------------------------------------------------"
39 echo "Only the failed systemd units:"
40 echo "------------------------------------------------"
41 ( systemctl list-units | grep failed ) || true