to ensure all services (weston/homescreen) are really up
as they might still be starting once we reach the login
prompt.
Change-Id: I1e16146704f1b11d576ffab1524b279e4be5a82c
Bug-AGL: SPEC-950
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
RESULT="unknown"
+# add delay for services to fully start
+sleep 5
+
for i in ${ALL} ; do
echo -e "\n########## Test for service ${i} being active ##########\n"
systemctl is-active ${i} >/dev/null 2>&1
ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}"
RESULT="unknown"
+# add delay for services to fully start
+sleep 5
+
for i in ${ALL} ; do
echo -e "\n########## Test for service ${i} being active ##########\n"
systemctl is-active ${i} >/dev/null 2>&1