From 457793f3d5fc443d2f293593a197cdc4aefa6577 Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Mon, 2 Sep 2019 14:06:27 +0200
Subject: [PATCH] telepathy-ring-automated: Stop using audit.log

Use the systemd journal to retrieve audit messages, as the minimal images no
longer ship auditd.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 test-cases/telepathy-ring-automated.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-cases/telepathy-ring-automated.yaml b/test-cases/telepathy-ring-automated.yaml
index 997c570..e694d71 100644
--- a/test-cases/telepathy-ring-automated.yaml
+++ b/test-cases/telepathy-ring-automated.yaml
@@ -40,7 +40,7 @@ run:
     - "# Execute the following commands:"
     - echo -n | sudo tee /var/log/audit/audit.log
     - common/run-test-in-systemd --user=user sdk/telepathy-ring-automated.sh
-    - sudo cat /var/log/audit/audit.log | aa_log_extract_tokens.pl PERMITTING REJECTING
+    - sudo journalctl -b -t audit -o cat | /usr/bin/aa_log_extract_tokens.sh ALLOWED DENIED
 
 parse:
   fixupdict:
-- 
GitLab