Commit 2b949a93 authored by Guido Gunther's avatar Guido Gunther

smoketest: Ignore warning from g-s-d and other components

We're only interested in phosh's criticals and warnings so adjust
the corresponding greps.
parent db29c222
Pipeline #448 passed with stages
in 16 minutes and 19 seconds
......@@ -137,7 +137,7 @@ import -display "${DISPLAY}" -window root "${OUTDIR}"/empty.png
echo "Started/stopped phosh successfully"
RET=0
if grep -qs "WARNING" "${PHOSH_LOG}"; then
if grep -qs "phosh.*WARNING" "${PHOSH_LOG}"; then
echo "Found warning log messages" 1>&2
# We're having warnings due to missing DBus
# services and gnome-session depending on X11.
......@@ -145,7 +145,7 @@ if grep -qs "WARNING" "${PHOSH_LOG}"; then
#RET=1
fi
if grep -qs "CRITICAL" "${PHOSH_LOG}"; then
if grep -qs "phosh.*CRITICAL" "${PHOSH_LOG}"; then
echo "Found critical log messages" 1>&2
RET=1
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment