X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fscripts%2Fservice-check-nogfx.sh;h=a584e4e40994baf279466be9dbad581a5a55c78a;hb=f820cb32ee5d7edb1f3c0ad8198805ba79e63b7b;hp=5b74ff148277588b9395fb7a34d5a3df58d1e92c;hpb=84870c22625876a5ecc369eef21b18597d967571;p=src%2Fqa-testdefinitions.git diff --git a/common/scripts/service-check-nogfx.sh b/common/scripts/service-check-nogfx.sh old mode 100644 new mode 100755 index 5b74ff1..a584e4e --- a/common/scripts/service-check-nogfx.sh +++ b/common/scripts/service-check-nogfx.sh @@ -2,13 +2,17 @@ export LANG=C export TERM=dumb +export COLUMNS=1000 -REQUIREDSOCKETS="cynara.socket dbus.socket security-manager.socket" +REQUIREDSOCKETS="dbus.socket security-manager.socket" REQUIREDSERVICES="afm-system-daemon.service connman.service ofono.service bluetooth.service" ALL="${REQUIREDSOCKETS} ${REQUIREDSERVICES}" RESULT="unknown" +# add delay for services to fully start +sleep 5 + for i in ${ALL} ; do echo -e "\n\n########## Test for service ${i} being active ##########\n\n" @@ -37,4 +41,4 @@ echo "------------------------------------------------" ( systemctl list-units | grep failed ) || true -exit 0 \ No newline at end of file +exit 0