Commit a699e7d7 authored by Luis Araujo's avatar Luis Araujo

Check for failed systemd units

This commit checks for any failed systemd units in the sanity-check
Signed-off-by: Luis Araujo's avatarLuis Araujo <>
parent fe66644f
......@@ -69,6 +69,12 @@ then
"$common/run-test-in-systemd" --user=user --name=x11-works -- xterm -e /bin/true
# Check for failed systemd-units
if [ -n "$(systemctl list-units --failed --no-legend --no-pager --plain)" ]
fail systemd-unit
set +x # remaining commands run are uninteresting
if test "x$failed" != "x0"; then
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