From 0f26d09c713c0ccea11d3cf561b523da11b25361 Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Fri, 20 Sep 2019 09:52:20 +0200
Subject: [PATCH] sanity-check-manual: Update expected output to include
 systemctl call

Commit infrastructure/apertis-test@a699e7d "Check for failed systemd units"
introduced a new call to `systemctl` that gets included even in case the test
is successful.

Update the expected output to avoid any confusion.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 test-cases/sanity-check-manual.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test-cases/sanity-check-manual.yaml b/test-cases/sanity-check-manual.yaml
index e587887..3f08d82 100644
--- a/test-cases/sanity-check-manual.yaml
+++ b/test-cases/sanity-check-manual.yaml
@@ -46,7 +46,9 @@ metadata:
         + grep -E ^ID=("?)apertis\1$ /etc/os-release
         ID=apertis
         + id -u user
-        + test -S /run/user/1000/wayland-0
+        + [ -S /run/user/1000/wayland-0 ]
+        + systemctl list-units --failed --no-legend --no-pager --plain
+        + [ -n  ]
         + set +x
         # Sanity check successful
 
-- 
GitLab